diff options
author | ramon <ramongomez@us.es> | 2015-05-26 07:57:34 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2015-05-26 07:57:34 +0000 |
commit | 12603f81e2d7da233fb60fdc641283dbbae27ef9 (patch) | |
tree | 73f509a2748085ab3b46c370a7ee5743fa3e8b86 /admin/WebConsole/varios | |
parent | 822d4f52a07f69fa3ee3db50aae0b89ba1d59cf0 (diff) |
Version 1.1: Integrar las últimas modificaciones incluidas en la versión 1.0.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4631 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/varios')
-rw-r--r-- | admin/WebConsole/varios/menucliente.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/WebConsole/varios/menucliente.php b/admin/WebConsole/varios/menucliente.php index daaf76c6..06cd6816 100644 --- a/admin/WebConsole/varios/menucliente.php +++ b/admin/WebConsole/varios/menucliente.php @@ -24,6 +24,7 @@ if(!isset($_SESSION["validated"]) || $_SESSION["validated"] != true) include("../validacion/access_controller.php"); } else{ + include_once("../validacion/functions.php"); //___________________________________________________________________________________________________ //________________________________________________________________________________________________________ @@ -47,9 +48,7 @@ else{ //________________________________________________________________________________________________________ //agp $nombre_archivo = "/opt/opengnsys/log/clients/".$iph.".cache.txt"; - $gestor = fopen($nombre_archivo, 'r'); - $contenidofichero = fread($gestor, filesize($nombre_archivo)); - fclose($gestor); + $contenidofichero = file_get_contents($nombre_archivo); if (empty ($contenidofichero)) { // Sin caché local. $cmd->texto="UPDATE ordenadores_particiones |