X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;fp=index.php;h=82285dd94ec896c8b5874e2146f151b27e8fda61;hb=d53d9d01f79999fe4bf193c530872aff72cb00cc;hp=b702bd133bc7023c7f9c5d63396754a80f272d51;hpb=a605982fa9b9a638c801c9d6dd712d9fca6af60d;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(); }