We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd1320 commit 10c3bdeCopy full SHA for 10c3bde
system/lib/HAXCMS.php
@@ -95,6 +95,10 @@ public function __construct()
95
!in_array(strtolower($_SERVER['HTTPS']), array('off', 'no'))
96
? 'https'
97
: 'http';
98
+ // fallback test for https
99
+ if ($this->protocol == 'http' && isset($_SERVER["HTTP_USESSL"]) && $_SERVER["HTTP_USESSL"]) {
100
+ $this->protocol = 'https';
101
+ }
102
// CLIs dont have a domain argument
103
if (isset($_SERVER['HTTP_HOST'])) {
104
$this->domain = $_SERVER['HTTP_HOST'];
0 commit comments