z
This commit is contained in:
parent
6d835dcd43
commit
335651045f
|
|
@ -528,31 +528,11 @@
|
||||||
|
|
||||||
if($faceRegistered == "1" && $lienPhoto>" ")
|
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;
|
$photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto;
|
||||||
|
|
||||||
$photoAssureCrypte = $photo;
|
$photoAssureCrypte = $photo;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
var_dump
|
|
||||||
(
|
|
||||||
array(
|
|
||||||
"photoAssureCrypte" => $photoAssureCrypte,
|
|
||||||
)
|
|
||||||
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
|
|
||||||
$prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']);
|
$prestationPossible = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']);
|
||||||
|
|
||||||
|
|
@ -627,15 +607,10 @@
|
||||||
|
|
||||||
if($faceRegistered == "1" && $lienPhoto>" ")
|
if($faceRegistered == "1" && $lienPhoto>" ")
|
||||||
{
|
{
|
||||||
$photo = $_SESSION['lienPhotoFace'] . $lienPhoto;
|
$photo = $_SESSION['dossierPhoto_C'].$_SESSION['dossierSociete'].'/Photos/'.$lienPhoto;
|
||||||
if(!file_exists($photo))
|
|
||||||
{
|
$photoAssureCrypte = $photo;
|
||||||
$photoAssureCrypte = "";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$photoAssureCrypte = decryptImage($photo);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="card-body py-2">
|
<div class="card-body py-2">
|
||||||
|
|
@ -644,7 +619,7 @@
|
||||||
<?php if($faceRegistered == "1"): ?>
|
<?php if($faceRegistered == "1"): ?>
|
||||||
<div class="photo-zoom-container text-center mb-2" style="display: inline-block;">
|
<div class="photo-zoom-container text-center mb-2" style="display: inline-block;">
|
||||||
<img class="photoId rounded-circle photo-zoom"
|
<img class="photoId rounded-circle photo-zoom"
|
||||||
src="data:image/jpg;base64,<?=$photoAssureCrypte?>"
|
src="<?=$photoAssureCrypte?>"
|
||||||
alt="<?= _("Photo Bénéficiaire") ?>"
|
alt="<?= _("Photo Bénéficiaire") ?>"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user