mejora realizada a la lectura de parametros del envio de sms

parent 4ee4328f
...@@ -66,7 +66,7 @@ class Sms extends BaseSms ...@@ -66,7 +66,7 @@ class Sms extends BaseSms
$post['to'] = array($movil); $post['to'] = array($movil);
$post['text'] = $mensaje; $post['text'] = $mensaje;
$post['from'] = Utiles::getParametroConfiguracion("from_sms"); $post['from'] = Utiles::getParametroConfiguracion("from_sms");
$user =Utiles::getParametroConfiguracion('usuario_sms'); $user =Utiles::getParametroConfiguracion("usuario_sms");
$password = Utiles::getParametroConfiguracion("pass_sms"); $password = Utiles::getParametroConfiguracion("pass_sms");
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, Utiles::getParametroConfiguracion("url_sms")); curl_setopt($ch, CURLOPT_URL, Utiles::getParametroConfiguracion("url_sms"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment