// Merge -> revision 8097

This commit is contained in:
rMalie committed 2011-08-17 16:10:20 +00:00
1 parent 5b26bb28b8
commit 66d4533e68
41 files changed
+107 -135

No files matched your search

+4
View File
@@ -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');
}