diff --git a/funciones/funciones.php b/funciones/funciones.php index 4dd842e..82a2442 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -5459,7 +5459,7 @@ $consulta= "SELECT *, $tabla_autenticacion.id AS id_usuario

Hola $_SESSION[username]

"; //$url=urlencode('../index.php'); //$respuesta->addRedirect("$_SESSION[site]"); - $respuesta->addScript("window.location='../'"); + $respuesta->addScript("window.location='./'"); // $respuesta->addAssign($div,"innerHTML",$resultado); //header("Location: ../"); //return; diff --git a/index.php b/index.php index 2208576..7bf8e63 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,7 @@ if (isset($_REQUEST['consulta'])) {$consulta = $_REQUEST['consulta'];} else {$co if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";} ?> - + diff --git a/js/scripts.js b/js/scripts.js index d0a3024..a03e626 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -20,11 +20,11 @@ function delayTimer() { restante = (tiempo - transcurrido_minutos); prefin = (tiempo*60)-transcurrido; - document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos "; + document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos "+inicio; if(restante == 1 ){ //alert(transcurrido); - location.href="./salir.php"; + location.href="../../salir.php"; }else{ setTimeout("revisarSession()",2000) ; }