mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
HTTPS Ermittlung korrigiert
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
$ar = APP_ROOT;
|
||||
if(isset($_SERVER["https"]) && $_SERVER["https"] != "")
|
||||
if(isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "" && $_SERVER["HTTPS"] != "off")
|
||||
$ar = preg_replace("/^http:/i", "https:", $ar);
|
||||
else
|
||||
$ar = preg_replace("/^https:/i", "http:", $ar);
|
||||
|
||||
Reference in New Issue
Block a user