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