]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
fix of #115 - stay connected and session livetime
[github/wallabag/wallabag.git] / index.php
index 5ca8bef5b3de0af9c49a2737cd8859efd034c5c2..bc28a19d59299be677a6f547d59b21a0f25d2997 100644 (file)
--- a/index.php
+++ b/index.php
@@ -12,6 +12,12 @@ define ('POCHE', '1.5.3');
 require 'check_setup.php';
 require_once 'inc/poche/global.inc.php';
 
+# Start session
+Session::$sessionName = 'poche';
+if ( !isset($_GET['login']) ) {
+    Session::init();
+}
+
 # Start Poche
 $poche = new Poche();
 $notInstalledMessage = $poche -> getNotInstalledMessage();