This commit is contained in:
2026-02-17 05:11:41 +00:00
parent ccc54cf81d
commit ebda524d27
2 changed files with 10 additions and 0 deletions

View File

@@ -30,6 +30,14 @@ class ControleurAjaxeditioncarteassure extends Controleur
echo '<div class="alert alert-warning">'._("Le logo de la société est introuvable").'</div>';
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');