From eb5b677250d16e6831bda43661c82e730358de65 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Mon, 17 Mar 2014 22:22:05 +0200 Subject: fix of #115 - stay connected and session livetime --- index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 5ca8bef5..bc28a19d 100644 --- 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(); -- cgit v1.2.3