a
This commit is contained in:
parent
671b9bd574
commit
695601d335
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user