diff --git a/Vue/Accueilassure/index.php b/Vue/Accueilassure/index.php index 1c9748b..e58218b 100755 --- a/Vue/Accueilassure/index.php +++ b/Vue/Accueilassure/index.php @@ -528,31 +528,11 @@ if($faceRegistered == "1" && $lienPhoto>" ") { - /* - $photo = $_SESSION['lienPhotoFace'] . $lienPhoto; - if(!file_exists($photo)) - { - $photoAssureCrypte = ""; - } - else - { - $photoAssureCrypte = decryptImage($photo); - } - */ $photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto; $photoAssureCrypte = $photo; } - /* - var_dump - ( - array( - "photoAssureCrypte" => $photoAssureCrypte, - ) - - ); - */ $prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']); @@ -627,15 +607,10 @@ if($faceRegistered == "1" && $lienPhoto>" ") { - $photo = $_SESSION['lienPhotoFace'] . $lienPhoto; - if(!file_exists($photo)) - { - $photoAssureCrypte = ""; - } - else - { - $photoAssureCrypte = decryptImage($photo); - } + $photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto; + + $photoAssureCrypte = $photo; + } ?>