mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-13 19:26:35 +00:00
🚿
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 143 KiB |
+2
-1
@@ -14,7 +14,7 @@ use chillerlan\QRCode\Common\EccLevel;
|
||||
|
||||
require_once __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs';
|
||||
$data = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
||||
$gzip = true;
|
||||
|
||||
$options = new QROptions([
|
||||
@@ -60,4 +60,5 @@ if($gzip){
|
||||
header('Content-Encoding: gzip');
|
||||
$qrcode = gzencode($qrcode, 9);
|
||||
}
|
||||
|
||||
echo $qrcode;
|
||||
|
||||
Reference in New Issue
Block a user