diff options
author | ramon <ramongomez@us.es> | 2017-03-13 12:29:45 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-03-13 12:29:45 +0000 |
commit | 53419be8368b03678604c7c97940b21976250a90 (patch) | |
tree | 6455fe5ecc2e957c362ae949624547ee90774308 /admin/WebConsole/index.php | |
parent | 213a832eadaecd739e7a460f4ea768d21b1f4c31 (diff) |
#708 #718: Usar siempre HTTPS en todo el servidor OpenGnsys (incluido descargas y REST).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5228 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/index.php')
-rw-r--r-- | admin/WebConsole/index.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/admin/WebConsole/index.php b/admin/WebConsole/index.php index 96f3abbb..346b483a 100644 --- a/admin/WebConsole/index.php +++ b/admin/WebConsole/index.php @@ -14,11 +14,6 @@ if(isset($_SESSION)){ // Si existe algua sesión ... session_unset(); // Elimina variables session_destroy(); // Destruye sesión } -# Cambiar a HTTPS -if (empty ($_SERVER["HTTPS"])) { - header ("Location: https://".$_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"]); - exit (0); -} // Cargar configuración. include_once("controlacceso.php"); |