This commit is contained in:
KANE LAZENI 2026-02-17 18:48:51 +00:00
parent 671b9bd574
commit 695601d335

View File

@ -154,12 +154,12 @@ $photoY = 17;
$headers = null; $headers = null;
if($photo>" " && $faceRegistered=="1") if($photo>" " && $faceRegistered=="1")
{ {
$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$headers = @get_headers($photoPath); $headers = @get_headers($photoPath);
} }
// if ($assure['lienPhoto']>" " && $headers && $faceRegistered=="1") { // if ($assure['lienPhoto']>" " && $headers && $faceRegistered=="1") {
if ($headers) { if ($headers) {
$photoPath = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$assure['lienPhoto'];
$data = decryptImage($photoPath); $data = decryptImage($photoPath);
$data = base64_decode($data); $data = base64_decode($data);
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg'; $temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';