diff --git a/Controleur/ControleurAjaxtesterdisponiblitesms.php b/Controleur/ControleurAjaxtesterdisponiblitesms.php index 963973d8..df70d125 100644 --- a/Controleur/ControleurAjaxtesterdisponiblitesms.php +++ b/Controleur/ControleurAjaxtesterdisponiblitesms.php @@ -99,15 +99,20 @@ class ControleurAjaxtesterdisponiblitesms extends Controleur { public function envoyersmsesicia($destinataires_c, $message_c) { - $loginSms = $this->loginSms; - $motPassSms = $this->motPassSms; - - // problème avec le https + $loginSms = $this->loginSms; + $motPassSms = $this->motPassSms; $url = "http://gateway.esicia.com/sendsms/?"; + + /* + $loginSms = "radiantapi"; + $motPassSms = "9p1s9w7t"; + $url = "https://sms.esicia.africa/?"; + */ $postFields = array ( - 'ohereza' =>'Radiant', + // 'ohereza' =>'Radiant', + 'ohereza' =>'RADIANT', 'kuri' =>$destinataires_c, 'ubutumwa' =>$message_c, // 'client' =>'radiant', diff --git a/Controleur/ControleurPrestations.php b/Controleur/ControleurPrestations.php index 50dceb1b..e8786a51 100644 --- a/Controleur/ControleurPrestations.php +++ b/Controleur/ControleurPrestations.php @@ -109,57 +109,15 @@ class ControleurPrestations extends Controleur { $this->beneficiaire->init_traiterlaface('2'); } - $arrgs = [ - 'credentials' => [ - /* - 'key' => 'AKIARKWWQN5L3CY26JXS', - 'secret' => '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', - */ - /* - 'key' => 'AKIARKWWQN5LZYQYF5HJ', - 'secret' => '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', - */ - 'key' => 'AKIA2O2PTXQ7XN5OATO3', - 'secret' => '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', - ], - '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 -*/ + $arrgs = [ + 'credentials' => [ + 'key' => 'AKIAUHRHI7XJ2WK4XJEW', + 'secret' => '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', + ], + 'version' => 'latest', + 'region' => 'us-east-1' + ]; + $client = new RekognitionClient($arrgs); diff --git a/Cron/Cronenvoisms.php b/Cron/Cronenvoisms.php index e8125242..66252be4 100755 --- a/Cron/Cronenvoisms.php +++ b/Cron/Cronenvoisms.php @@ -156,18 +156,15 @@ class Cronenvoisms $loginSms = $this->loginSms; $motPassSms = $this->motPassSms; - // problème avec le https - $url = "http://gateway.esicia.com/sendsms/?"; + // $url = "http://gateway.esicia.com/sendsms/?"; + // 24/04/2026 + $url = "https://sms.esicia.africa/?"; $postFields = array ( 'ohereza' =>$titreSms_c, 'kuri' =>$destinataires_c, 'ubutumwa' =>$message_c, - - // 'client' =>'radiant', - // 'password' =>'umugozi', - 'client' =>$loginSms, 'password' =>$motPassSms, 'msgid' =>'kanesin' @@ -180,9 +177,6 @@ class Cronenvoisms $result = file_get_contents($url); $this->marquersms($this->idSms, "1"); - - // A SUPPRIMER - // var_dump($result); } public function envoyersmshooza($destinataires_c, $message_c, $titreSms_c) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index cd9724cb..6aac4b8a 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -34,15 +34,10 @@ } --> - - -