1
0

Strict check fix from judas iscariote

This commit is contained in:
Garvin Hicking
2007-01-29 08:26:18 +00:00
parent 5c06285413
commit 9cb36cbf1c

View File

@ -9,7 +9,7 @@ if (defined('S9Y_FRAMEWORK')) {
@define('S9Y_FRAMEWORK', true);
if (!headers_sent()) {
if (strtolower($_SERVER['HTTPS']) == 'on') {
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') {
@ini_set('session.name', 'SSLSID');
@ini_set('session.cookie_secure', '1');
}