Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-05-05 01:51:13 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-05 01:51:13 +0400
commitdc30088078a0f4e526f79a0a9424fed512e5e4c7 (patch)
tree1929c48b068fa2fc8507ae5e91c2b124d6e8df6a /core/FrontController.php
parent55f068240fdf22ed134c6ec483d8fd36091312b8 (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.php6
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();