Merge pull request #1236 from bisherbas/patch-1

Update session start condition
This commit is contained in:
ArthurHoaro 2018-11-15 20:10:47 +01:00 committed by GitHub
commit d53d9d01f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@
session_name('shaarli');
// Start session if needed (Some server auto-start sessions).
if (session_id() == '') {
if (session_status() == PHP_SESSION_NONE) {
session_start();
}