Add debug logging for image upload and QR generation

This commit is contained in:
2025-11-11 18:07:20 +01:00
parent ec8beab484
commit 413c7daee5
2 changed files with 18 additions and 1 deletions

9
test_qr.php Normal file
View File

@@ -0,0 +1,9 @@
<?php$
require 'vendor/autoload.php';$
use chillerlan\QRCode\QRCode;$
use chillerlan\QRCode\QROptions;$
= new QROptions(['outputType' => QRCode::OUTPUT_MARKUP_SVG, 'eccLevel' => QRCode::ECC_L]);$
= new QRCode();$
= ->render('test');$
file_put_contents('public/uploads/qr/test.svg', );$
echo 'QR created';$