Pārlūkot izejas kodu

added patch to better detect HTTPS

Luke Ehresman 24 gadi atpakaļ
vecāks
revīzija
c1b96ccd9e
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      functions/strings.php

+ 4 - 0
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, '/'));