diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-01 01:11:39 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-01 01:11:39 +0300 |
commit | 4a2145a1a7fd21cefb7d79e83f3416027c251c0a (patch) | |
tree | a76e97b59f5939e3ed835b7ea8ffdb151a452ba9 /core/FrontController.php | |
parent | b0967675950f9077fdd4d0cb2867a0f9eb3822e2 (diff) |
Fixed the detection of missing config file
Diffstat (limited to 'core/FrontController.php')
-rw-r--r-- | core/FrontController.php | 4 |
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(); |