diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-05 01:51:13 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-05 01:51:13 +0400 |
commit | dc30088078a0f4e526f79a0a9424fed512e5e4c7 (patch) | |
tree | 1929c48b068fa2fc8507ae5e91c2b124d6e8df6a /core/FrontController.php | |
parent | 55f068240fdf22ed134c6ec483d8fd36091312b8 (diff) |
Refs #4990 Fix bug reported in forums when nFS is detected
http://forum.piwik.org/read.php?8,114216,page=1#msg-114795
Diffstat (limited to 'core/FrontController.php')
-rw-r--r-- | core/FrontController.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/FrontController.php b/core/FrontController.php index e5a5fa2b1d..5d9ddaf3b3 100644 --- a/core/FrontController.php +++ b/core/FrontController.php @@ -270,10 +270,6 @@ class FrontController extends Singleton $exceptionToThrow = self::createConfigObject(); - if (Session::isFileBasedSessions()) { - Session::start(); - } - $this->handleMaintenanceMode(); $this->handleProfiler(); $this->handleSSLRedirection(); @@ -387,7 +383,7 @@ class FrontController extends Singleton $action = Common::getRequestVar('action', false); } - if (!Session::isFileBasedSessions() + if (SettingsPiwik::isPiwikInstalled() && ($module !== 'API' || ($action && $action !== 'index')) ) { Session::start(); |