diff options
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'); |