Fixed path while generating config file

This commit is contained in:
Alejandro Celaya 2016-08-14 10:43:16 +02:00
parent 566ee7ef6f
commit fe708333b1

View file

@ -84,7 +84,7 @@ class InstallCommand extends Command
// Generate config params files
$config = $this->buildAppConfig($params);
$this->configWriter->toFile('config/params/generated_config.php', $config);
$this->configWriter->toFile(__DIR__ . '/../../../../../config/params/generated_config.php', $config, false);
$output->writeln('<info>Custom configuration properly generated!</info>');
}