aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-11-15 20:10:47 +0100
committerGitHub <noreply@github.com>2018-11-15 20:10:47 +0100
commitd53d9d01f79999fe4bf193c530872aff72cb00cc (patch)
tree6cb00ddfc70b93b99ad2b12a0490e21cb8f3f6b1 /index.php
parenta605982fa9b9a638c801c9d6dd712d9fca6af60d (diff)
parentf6380409ac0b6ae1368d89ca749c139183e7b02e (diff)
downloadShaarli-d53d9d01f79999fe4bf193c530872aff72cb00cc.tar.gz
Shaarli-d53d9d01f79999fe4bf193c530872aff72cb00cc.tar.zst
Shaarli-d53d9d01f79999fe4bf193c530872aff72cb00cc.zip
Merge pull request #1236 from bisherbas/patch-1
Update session start condition
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index b702bd13..82285dd9 100644
--- a/index.php
+++ b/index.php
@@ -111,7 +111,7 @@ ini_set('session.use_trans_sid', false);
111 111
112session_name('shaarli'); 112session_name('shaarli');
113// Start session if needed (Some server auto-start sessions). 113// Start session if needed (Some server auto-start sessions).
114if (session_id() == '') { 114if (session_status() == PHP_SESSION_NONE) {
115 session_start(); 115 session_start();
116} 116}
117 117