diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-27 19:37:16 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-27 19:37:16 -0500 |
commit | e3ff52ad89b1ac8549ee4b2b679cf9d7a2f96d29 (patch) | |
tree | c3455801543e8feff417c76d43ee0e2c670de4ad /controllers | |
parent | 2f6b9353d54823ed12a57a6bd425323ceb1356d9 (diff) |
Improve session creation
Diffstat (limited to 'controllers')
-rw-r--r-- | controllers/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/base.php b/controllers/base.php index a59220d3..da4ee8ae 100644 --- a/controllers/base.php +++ b/controllers/base.php @@ -57,7 +57,7 @@ abstract class Base public function beforeAction($controller, $action) { - $this->session->open(dirname($_SERVER['PHP_SELF'])); + $this->session->open(dirname($_SERVER['PHP_SELF']), SESSION_SAVE_PATH); if (! isset($_SESSION['user']) && ! $this->noAuthAllowed($controller, $action)) { $this->response->redirect('?controller=user&action=login'); |