diff options
author | Andrew Dolgov <[email protected]> | 2013-01-22 19:21:40 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-22 19:21:40 +0400 |
commit | 6addc13f46c29674bdf82986319f1aad8abf50cd (patch) | |
tree | b3fa9aea17479a72e4504a81e4cb63e8e0168d8e /include | |
parent | c5e3995f8cb1a2e40ec48d6ee3f0cc56bbbc1356 (diff) |
sessions: prevent HTTPS warning
Diffstat (limited to 'include')
-rw-r--r-- | include/sessions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sessions.php b/include/sessions.php index e692d1169..bd07c1994 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -7,7 +7,7 @@ $session_expire = SESSION_EXPIRE_TIME; //seconds $session_name = (!defined('TTRSS_SESSION_NAME')) ? "ttrss_sid" : TTRSS_SESSION_NAME; - if ($_SERVER['HTTPS'] == "on") { + if (@$_SERVER['HTTPS'] == "on") { $session_name .= "_ssl"; ini_set("session.cookie_secure", true); } |