diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-17 22:22:05 +0200 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-03-17 22:22:05 +0200 |
commit | eb5b677250d16e6831bda43661c82e730358de65 (patch) | |
tree | d7e594c756792cbdd1bde8410ad9f82b286af9bc /index.php | |
parent | 897b2b53029b8490cd7e9ea329d4151c2f6bd123 (diff) | |
download | wallabag-eb5b677250d16e6831bda43661c82e730358de65.tar.gz wallabag-eb5b677250d16e6831bda43661c82e730358de65.tar.zst wallabag-eb5b677250d16e6831bda43661c82e730358de65.zip |
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(); |