envio email actualizar

This commit is contained in:
humano 2018-07-02 17:27:56 -05:00
parent 496eacb1c7
commit 7702bb33d1

View File

@ -6403,8 +6403,9 @@ $xajax->registerFunction("configurar_dominio");
function actualizar_codigo ($dato) {
//$comando = "sudo /usr/local/bin/actualizarcodigo";
$comando = "sudo /usr/local/bin/actualizarcodigo";
@include("includes/datos.php");
$email = remplacetas("$tabla_autenticacion","id",$_SESSION['id'],"email","");
$comando = "sudo /usr/local/bin/actualizarcodigo -m $email[0]";
$ejecutar= exec($comando) ;
$respuesta = new xajaxResponse('utf-8');
$respuesta->addAlert("$ejecutar");