Skip to content

Commit

Permalink
Fixed the detection of missing config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Nov 30, 2014
1 parent b096767 commit 4a2145a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/FrontController.php
Expand Up @@ -311,6 +311,8 @@ public function init()

Registry::set('timer', new Timer);

$exceptionToThrow = self::createConfigObject();

$tmpPath = StaticContainer::getContainer()->get('path.tmp');

$directoriesToCheck = array(
Expand All @@ -326,8 +328,6 @@ public function init()

Filechecks::dieIfDirectoriesNotWritable($directoriesToCheck);

$exceptionToThrow = self::createConfigObject();

$this->handleMaintenanceMode();
$this->handleProfiler();
$this->handleSSLRedirection();
Expand Down

0 comments on commit 4a2145a

Please sign in to comment.