diff options
author | ramon <ramongomez@us.es> | 2016-03-31 06:24:58 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-03-31 06:24:58 +0000 |
commit | bd1a87299a1dc03872c8a0aecd01def35d62439b (patch) | |
tree | 3ee321e2772e670d4023e2c3fe660bade0860206 /admin/WebConsole/descargas | |
parent | 2a31d57ef11638003d433c1ce411e05c71d208d4 (diff) |
#718: Corregir errata en revisión r4852, debe evitarse el envío de caracteres fuera del código PHP porque se añaden al fichero a descargar.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4853 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/descargas')
-rw-r--r-- | admin/WebConsole/descargas/index.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/admin/WebConsole/descargas/index.php b/admin/WebConsole/descargas/index.php index 3a856d10..d6ff884d 100644 --- a/admin/WebConsole/descargas/index.php +++ b/admin/WebConsole/descargas/index.php @@ -1,11 +1,15 @@ <?php +// Warning: Don't left any character outside PHP code. +// +// Choose a file on this directory to download via Apache. + include_once("../includes/ctrlacc.php"); include_once("../clases/AdoPhp.php"); include_once("../includes/CreaComando.php"); -include_once("../idiomas/php/".$idioma."/propiedades_ordenadores_".$idioma.".php"); +include_once("../idiomas/php/".$idioma."/descargas_".$idioma.".php"); $cmd=CreaComando($cadenaconexion); // Crea objeto comando if (!$cmd) - header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. + header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. // Security tip: change to local directory. $oldpwd=getcwd(); @@ -52,5 +56,5 @@ function sendFile($file) { } } +// Warning: Don't left any character outside PHP code. ?> - |