Skip to content

Commit

Permalink
Update ticket.php
Browse files Browse the repository at this point in the history
l'api chart.googleapis.com n'existe plus. 
Proposition de remplacement de l'api
  • Loading branch information
GregChant authored Apr 19, 2024
1 parent 56978db commit 08de779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/ticket/ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@

ob_clean();

$QR = imagecreatefrompng('https://chart.googleapis.com/chart?cht=qr&chld=H|1&chs='.$size.'&chl='.urlencode($urlToEncode));
$QR = imagecreatefrompng('https://quickchart.io/qr?text=' .urlencode($urlToEncode. '&size='.$size )); // chart.googleapis.com n'existe plus

if (! is_dir($targetPath)) {
mkdir($targetPath, 0777, true);
Expand Down

0 comments on commit 08de779

Please sign in to comment.