diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-03-17 21:49:42 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-03-17 21:49:42 +0100 |
commit | a7048bc45d63710b2e550b4ad467bd91e75c7acf (patch) | |
tree | d7e594c756792cbdd1bde8410ad9f82b286af9bc /index.php | |
parent | 897b2b53029b8490cd7e9ea329d4151c2f6bd123 (diff) | |
parent | eb5b677250d16e6831bda43661c82e730358de65 (diff) | |
download | wallabag-a7048bc45d63710b2e550b4ad467bd91e75c7acf.tar.gz wallabag-a7048bc45d63710b2e550b4ad467bd91e75c7acf.tar.zst wallabag-a7048bc45d63710b2e550b4ad467bd91e75c7acf.zip |
Merge pull request #567 from mariroz/fix-session-livetime
fix of #115 - stay connected and session livetime
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ define ('POCHE', '1.5.3'); | |||
12 | require 'check_setup.php'; | 12 | require 'check_setup.php'; |
13 | require_once 'inc/poche/global.inc.php'; | 13 | require_once 'inc/poche/global.inc.php'; |
14 | 14 | ||
15 | # Start session | ||
16 | Session::$sessionName = 'poche'; | ||
17 | if ( !isset($_GET['login']) ) { | ||
18 | Session::init(); | ||
19 | } | ||
20 | |||
15 | # Start Poche | 21 | # Start Poche |
16 | $poche = new Poche(); | 22 | $poche = new Poche(); |
17 | $notInstalledMessage = $poche -> getNotInstalledMessage(); | 23 | $notInstalledMessage = $poche -> getNotInstalledMessage(); |