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