Skip to content

Commit

Permalink
Add unnecessary config loading.
Browse files Browse the repository at this point in the history
Since the environment is set to install, the config_install is inlcuded
in the next line (config_ . $this->getEnvironment())
  • Loading branch information
woutersioen committed Aug 14, 2014
1 parent 8539c83 commit 71de652
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public function registerContainerConfiguration(LoaderInterface $loader)
$fs = new Filesystem();
if ($fs->exists(__DIR__ . '/config/parameters.yml')) {
$loader->load(__DIR__ . '/config/config.yml');
} else {
$loader->load(__DIR__ . '/config/config_install.yml');
}

if ($fs->exists(__DIR__.'/config/config_'.$this->getEnvironment().'.yml')) {
Expand Down

0 comments on commit 71de652

Please sign in to comment.