a
This commit is contained in:
parent
1d2526fe84
commit
cb09c054b6
|
|
@ -157,7 +157,7 @@ $headers = @get_headers($photoPath);
|
|||
|
||||
//if($faceRegistered=="1" && file_exists($photoPath))
|
||||
// if (!empty($assure['lienPhoto']) && $headers && strpos($headers[0], '200')) {
|
||||
if (!empty($photo) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) {
|
||||
if (!empty($assure['lienPhoto']) && $headers && $faceRegistered=="1" && strpos($headers[0], '200')) {
|
||||
$data = decryptImage($photoPath);
|
||||
$data = base64_decode($data);
|
||||
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
|
||||
|
|
@ -178,11 +178,11 @@ var_dump(
|
|||
array(
|
||||
"faceRegistered" => $faceRegistered,
|
||||
// "photo" => $photo,
|
||||
"phophotoPathto" => $photoPath,
|
||||
"photoPath" => $photoPath,
|
||||
// "headers" => $headers,
|
||||
"strpos" => strpos($headers[0], '200'),
|
||||
"temp" => $temp,
|
||||
"lienPhotoFace" => $lienPhotoFace,
|
||||
"lienPhotoFace" => $_SESSION['lienPhotoFace'],
|
||||
)
|
||||
);
|
||||
echo "<br> <br>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user