From 841291c297720ec9c3a07e078bb1a309ff6789d2 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Sun, 22 Apr 2001 05:19:53 +0000 Subject: [PATCH] added patch to better detect HTTPS git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1286 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/strings.php b/functions/strings.php index 1aa09488..775e3e15 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -239,6 +239,10 @@ global $PHP_SELF, $SERVER_NAME, $HTTPS, $HTTP_HOST, $SERVER_PORT; + // check for HTTPS mode (you must have 'SSLOptions +StdEnvVars' + // in your apache config). + $HTTPS=getenv(HTTPS); + // Get the path $path = substr($PHP_SELF, 0, strrpos($PHP_SELF, '/')); -- 2.25.1