diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ ini_set('session.use_trans_sid', false); | |||
111 | 111 | ||
112 | session_name('shaarli'); | 112 | session_name('shaarli'); |
113 | // Start session if needed (Some server auto-start sessions). | 113 | // Start session if needed (Some server auto-start sessions). |
114 | if (session_id() == '') { | 114 | if (session_status() == PHP_SESSION_NONE) { |
115 | session_start(); | 115 | session_start(); |
116 | } | 116 | } |
117 | 117 | ||