a
This commit is contained in:
parent
ccc54cf81d
commit
ebda524d27
|
|
@ -31,6 +31,14 @@ class ControleurAjaxeditioncarteassure extends Controleur
|
|||
return;
|
||||
}
|
||||
|
||||
// 1. Inclure la bibliothèque phpqrcode
|
||||
// Définir le dossier de log AVANT l'include
|
||||
if (!defined('QR_LOG_DIR')) {
|
||||
define('QR_LOG_DIR', sys_get_temp_dir() . '/');
|
||||
}
|
||||
|
||||
include 'phpqrcode/qrlib.php';
|
||||
|
||||
$pdf = new FPDF_Protection('L', 'mm', array(85.6, 54));
|
||||
$pdf->SetAuthor('EBENE SOLUTIONS INFORMATIQUES');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
/*
|
||||
// À ajouter en haut de votre fichier, avant la génération du PDF
|
||||
|
||||
// 1. Inclure la bibliothèque phpqrcode
|
||||
|
|
@ -8,6 +9,7 @@ if (!defined('QR_LOG_DIR')) {
|
|||
}
|
||||
|
||||
include 'phpqrcode/qrlib.php';
|
||||
*/
|
||||
|
||||
// 2. Préparer les données pour le QR code
|
||||
$qrData = $assure['tagCarteQr'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user