// Merge -> revision 8097
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8100 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -224,6 +224,10 @@ class ToolsCore
|
||||
*/
|
||||
public static function usingSecureMode()
|
||||
{
|
||||
if (empty($_SERVER['HTTPS'])) {
|
||||
if(!empty($_SERVER['SSL']))
|
||||
$_SERVER['HTTPS'] = $_SERVER['SSL'];
|
||||
}
|
||||
return !(empty($_SERVER['HTTPS']) OR strtolower($_SERVER['HTTPS']) == 'off');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user