a
This commit is contained in:
parent
cb09c054b6
commit
4bc40b7d53
|
|
@ -157,7 +157,8 @@ $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($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 = decryptImage($photoPath);
|
||||||
$data = base64_decode($data);
|
$data = base64_decode($data);
|
||||||
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
|
$temp = $_SESSION['lienPhotoFace'].'tmp_'.uniqid().'.jpg';
|
||||||
|
|
@ -179,8 +180,8 @@ var_dump(
|
||||||
"faceRegistered" => $faceRegistered,
|
"faceRegistered" => $faceRegistered,
|
||||||
// "photo" => $photo,
|
// "photo" => $photo,
|
||||||
"photoPath" => $photoPath,
|
"photoPath" => $photoPath,
|
||||||
// "headers" => $headers,
|
"headers" => $headers,
|
||||||
"strpos" => strpos($headers[0], '200'),
|
// "strpos" => strpos($headers[0], '200'),
|
||||||
"temp" => $temp,
|
"temp" => $temp,
|
||||||
"lienPhotoFace" => $_SESSION['lienPhotoFace'],
|
"lienPhotoFace" => $_SESSION['lienPhotoFace'],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user