Commit 79b38383 authored by Aiguille's avatar Aiguille Committed by Skia
Browse files

eticket QRcode change temp dir

parent 97157536
......@@ -96,7 +96,7 @@ class eticket_pdf extends FPDF
{
/* We try to use the same informations as carteae.inc.php */
$code = strtoupper ($code);
$tmpfname = $topdir . 'images/eticket/qrcodes/' . uniqid('qrc_') . '.png';
$tmpfname = uniqid('qrc_') . '.png';
QRcode::png($code, $tmpfname, 'H', 4, 2);
$this->Image ($tmpfname);
unlink($tmpfname);
......
Supports Markdown
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