]> git.mjollnir.org Git - s9y.git/commitdiff
Strict check fix from judas iscariote
authorgarvinhicking <garvinhicking>
Mon, 29 Jan 2007 08:27:02 +0000 (08:27 +0000)
committergarvinhicking <garvinhicking>
Mon, 29 Jan 2007 08:27:02 +0000 (08:27 +0000)
serendipity_config.inc.php

index 642fb68fb0a9f564ac5c2a0281978657dc21d294..da9cda20468e58724cb1085f942982d1be01dd49 100644 (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');
     }