a
This commit is contained in:
parent
6f76bd7121
commit
b22da137e2
|
|
@ -343,55 +343,11 @@ class ControleurFichebeneficiaire extends Controleur
|
|||
|
||||
$arrgs = [
|
||||
'credentials' => [
|
||||
/*
|
||||
'key' => 'AKIARKWWQN5L3CY26JXS',
|
||||
'secret' => 'Mo613SKHaBKSH+IMPoMObafFiavN7kRqgp56gePX',
|
||||
*/
|
||||
/*
|
||||
'key' => 'AKIARKWWQN5LZYQYF5HJ',
|
||||
'secret' => '8dI1CAe+/vMsOJXs11Gv+nSQGMZiRCr0nIeEFS1H',
|
||||
*/
|
||||
'key' => 'AKIA2O2PTXQ7XN5OATO3',
|
||||
'secret' => 'Rzq5mKG80tqfePQYF6iFZ5AMCM/bY2l6i5IxxLzL',
|
||||
],
|
||||
'version' => 'latest',
|
||||
'region' => 'us-west-2'
|
||||
// 'region' => 'Oregon'
|
||||
// 'region' => 'eu-west-1'
|
||||
|
||||
];
|
||||
/*
|
||||
regions
|
||||
us-east-2
|
||||
us-east-1
|
||||
us-west-1
|
||||
us-west-2
|
||||
af-south-1
|
||||
ap-east-1
|
||||
ap-south-2
|
||||
ap-southeast-3
|
||||
ap-southeast-4
|
||||
ap-south-1
|
||||
ap-northeast-3
|
||||
ap-northeast-2
|
||||
ap-southeast-1
|
||||
ap-southeast-2
|
||||
ap-northeast-1
|
||||
ca-central-1
|
||||
eu-central-1
|
||||
eu-west-1
|
||||
eu-west-2
|
||||
eu-south-1
|
||||
eu-west-3
|
||||
eu-south-2
|
||||
eu-north-1
|
||||
eu-central-2
|
||||
me-south-1
|
||||
me-central-1
|
||||
sa-east-1
|
||||
us-gov-east-1
|
||||
us-gov-west-1
|
||||
*/
|
||||
|
||||
$client = new RekognitionClient($arrgs);
|
||||
|
||||
|
|
@ -449,7 +405,8 @@ us-gov-west-1
|
|||
// echo 'Message: ' .$e->getMessage();
|
||||
// exit();
|
||||
$msgErreur = $e->getMessage();
|
||||
$_SESSION['messageFace'] = "Un problème lors du traitement! / A problem during treatment!";
|
||||
// $_SESSION['messageFace'] = "Un problème lors du traitement! / A problem during treatment!";
|
||||
$_SESSION['messageFace'] = $msgErreur;
|
||||
|
||||
$this->beneficiaire->resultat_traitement_face($username, '9', $msgErreur);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user