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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-01 01:11:39 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-01 01:11:39 +0300
commit4a2145a1a7fd21cefb7d79e83f3416027c251c0a (patch)
treea76e97b59f5939e3ed835b7ea8ffdb151a452ba9 /core/FrontController.php
parentb0967675950f9077fdd4d0cb2867a0f9eb3822e2 (diff)
Fixed the detection of missing config file
Diffstat (limited to 'core/FrontController.php')
-rw-r--r--core/FrontController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index 527eb959f7..7d1702315f 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -311,6 +311,8 @@ class FrontController extends Singleton
Registry::set('timer', new Timer);
+ $exceptionToThrow = self::createConfigObject();
+
$tmpPath = StaticContainer::getContainer()->get('path.tmp');
$directoriesToCheck = array(
@@ -326,8 +328,6 @@ class FrontController extends Singleton
Filechecks::dieIfDirectoriesNotWritable($directoriesToCheck);
- $exceptionToThrow = self::createConfigObject();
-
$this->handleMaintenanceMode();
$this->handleProfiler();
$this->handleSSLRedirection();