diff options
author | ramon <ramongomez@us.es> | 2011-12-22 13:38:11 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-12-22 13:38:11 +0000 |
commit | c3c7cb3ae6f6600223111a572050f34f2df6fa71 (patch) | |
tree | 96fce1db6bf64fee2845d3a48abcbe07d9937562 /admin/WebConsole/acceso_esp.php | |
parent | 4caea352de0d0a19d4e0a2e2dd04980dd28e6be0 (diff) |
Congelar versión 1.0.2 en tags/opengnsys-1.0.2 (modifica #446).opengnsys-1.0.2
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/acceso_esp.php')
-rw-r--r-- | admin/WebConsole/acceso_esp.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/WebConsole/acceso_esp.php b/admin/WebConsole/acceso_esp.php index 050bb0d7..20146a85 100644 --- a/admin/WebConsole/acceso_esp.php +++ b/admin/WebConsole/acceso_esp.php @@ -7,6 +7,13 @@ // Nombre del fichero: acceso.php // Descripción : Presenta la pantalla de login de la aplicación // ******************************************************************************************************** + +# Cambiar a HTTPS +if (empty ($_SERVER["HTTPS"])) { + header ("Location: https://".$_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"]); + exit (0); +} + include_once("controlacceso.php"); include_once("./includes/CreaComando.php"); include_once("./clases/AdoPhp.php"); |