Strict check fix from judas iscariote
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user