From 9a8121e74e30264e0f28bd588f99cb7a3b4c8b53 Mon Sep 17 00:00:00 2001 From: oesi Date: Wed, 8 Mar 2017 15:06:23 +0100 Subject: [PATCH] =?UTF-8?q?Wenn=20index=5Flogin.php=20unverschl=C3=BCsselt?= =?UTF-8?q?=20aufgerufen=20wird=20und=20der=20APP=5FROOT=20auf=20https=20g?= =?UTF-8?q?esetzt=20ist,=20dann=20wird=20auf=20HTTPS=20umgeleitet=20damit?= =?UTF-8?q?=20ein=20sicherer=20Login=20erfolgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/index_login.php | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/cis/index_login.php b/cis/index_login.php index 85efb8264..d8a619c12 100644 --- a/cis/index_login.php +++ b/cis/index_login.php @@ -25,6 +25,12 @@ require_once('../include/functions.inc.php'); if(isset($_GET['login'])) { + if((!isset($_SERVER['HTTPS']) || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='off')) + && strstr(APP_ROOT,'https')!==false) + { + header('Location: '.APP_ROOT.'cis/index_login.php?login=1'); + exit; + } $uid = get_uid(); if($uid!='') @@ -37,24 +43,38 @@ if(isset($_GET['login'])) CIS - + + + +
-




-
- -


- Herzlich Willkommen am Campus Informationssystem der Fachhochschule Technikum Wien -
-
-
- -
-
+ + + + + + + +
+ +
+ +


+
+
+
+ +
+
+
+
Powered by FH Complete
+

+