summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e88da9)
raw | patch | inline | side by side (parent: 5e88da9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Apr 2006 06:37:53 +0000 (06:37 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Apr 2006 06:37:53 +0000 (06:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3078 594d385d-05f5-0310-b6e9-bd551577e9d8
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 77404340400739526f78c3d742ceb680665d58af..ac88c7992f7fe1920a12e31167c216dccba02184 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* Check for SSL connection */
$ssl= "";
-if (!isset($HTTP_SERVER_VARS['HTTPS']) ||
- !stristr($HTTP_SERVER_VARS['HTTPS'], "on")) {
+if (!isset($_SERVER['HTTPS']) ||
+ !stristr($_SERVER['HTTPS'], "on")) {
- if (empty($HTTP_SERVER_VARS['REQUEST_URI'])) {
- $ssl= "https://".$HTTP_SERVER_VARS['HTTP_HOST'].
- $HTTP_SERVER_VARS['PATH_INFO'];
+ if (empty($_SERVER['REQUEST_URI'])) {
+ $ssl= "https://".$_SERVER['HTTP_HOST'].
+ $_SERVER['PATH_INFO'];
} else {
- $ssl= "https://".$HTTP_SERVER_VARS['HTTP_HOST'].
- $HTTP_SERVER_VARS['REQUEST_URI'];
+ $ssl= "https://".$_SERVER['HTTP_HOST'].
+ $_SERVER['REQUEST_URI'];
}
}