X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=82285dd94ec896c8b5874e2146f151b27e8fda61;hb=f211e417bf637b8a83988175c29ee072c69f7642;hp=b702bd133bc7023c7f9c5d63396754a80f272d51;hpb=a062416918c964e7551137c08b5b5671e6e2bb7e;p=github%2Fshaarli%2FShaarli.git 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); session_name('shaarli'); // Start session if needed (Some server auto-start sessions). -if (session_id() == '') { +if (session_status() == PHP_SESSION_NONE) { session_start(); }