Commit ff4ad433 authored by Aiguille's avatar Aiguille

eticket QRcode change temp dir

parent 508e60d7
...@@ -96,7 +96,7 @@ class eticket_pdf extends FPDF ...@@ -96,7 +96,7 @@ class eticket_pdf extends FPDF
{ {
/* We try to use the same informations as carteae.inc.php */ /* We try to use the same informations as carteae.inc.php */
$code = strtoupper ($code); $code = strtoupper ($code);
$tmpfname = $topdir . 'images/eticket/qrcodes/' . uniqid('qrc_') . '.png'; $tmpfname = uniqid('qrc_') . '.png';
QRcode::png($code, $tmpfname, 'H', 4, 2); QRcode::png($code, $tmpfname, 'H', 4, 2);
$this->Image ($tmpfname); $this->Image ($tmpfname);
unlink($tmpfname); unlink($tmpfname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment