Update README.md

This commit is contained in:
Rob Janssen
2015-03-17 13:50:10 +01:00
parent a513e071e4
commit eeb3aa26f5
+2 -2
View File
@@ -113,13 +113,13 @@ Let's see if we can use [PHP QR Code](http://phpqrcode.sourceforge.net/) to impl
````php
<?php
require_once '../../phpqrcode.php'; // Yeah, we're gonna need that
require_once '../../phpqrcode.php'; // Yeah, we're gonna need that
namespace RobThree\TwoFactorAuth\Providers\Qr
class MyProvider implements IQRCodeProvider {
public function getMimeType() {
return 'image/png'; // This provider only returns PNG's
return 'image/png'; // This provider only returns PNG's
}
public function getQRCodeImage($qrtext, $size) {