This commit is contained in:
Chee Meng Au Yong 2014-11-07 14:56:55 +00:00
commit b6d7dbf283

View file

@ -309,7 +309,7 @@ class Pico {
protected function get_protocol()
{
$protocol = 'http';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != ''){
$protocol = 'https';
}
return $protocol;