This commit is contained in:
KANE LAZENI 2026-02-17 18:37:18 +00:00
parent cb09c054b6
commit 4bc40b7d53

View File

@ -157,7 +157,8 @@ $headers = @get_headers($photoPath);
//if($faceRegistered=="1" && file_exists($photoPath))
// if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) {
// if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) {
if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1") {
$data = decryptImage($photoPath);
$data = base64_decode($data);
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
@ -179,8 +180,8 @@ var_dump(
"faceRegistered" => $faceRegistered,
// "photo" => $photo,
"photoPath" => $photoPath,
// "headers" => $headers,
"strpos" => strpos($headers[0], '200'),
"headers" => $headers,
// "strpos" => strpos($headers[0], '200'),
"temp" => $temp,
"lienPhotoFace" => $_SESSION['lienPhotoFace'],
)