fix of #115 - stay connected and session livetime

This commit is contained in:
Maryana Rozhankivska
2014-03-17 22:22:05 +02:00
parent 897b2b5302
commit eb5b677250
3 changed files with 27 additions and 7 deletions

View File

@ -61,8 +61,6 @@ class Poche
private function init()
{
Tools::initPhp();
Session::$sessionName = 'poche';
Session::init();
if (isset($_SESSION['poche_user']) && $_SESSION['poche_user'] != array()) {
$this->user = $_SESSION['poche_user'];