Merge d96c1fccca
into 234c295f69
This commit is contained in:
commit
410f101d33
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class Pico {
|
|||
protected function get_protocol()
|
||||
{
|
||||
$protocol = 'http';
|
||||
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
||||
if(isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on'){
|
||||
$protocol = 'https';
|
||||
}
|
||||
return $protocol;
|
||||
|
|
Loading…
Add table
Reference in a new issue