Ported the form:generate command

This commit is contained in:
Kévin Gomez 2013-11-24 16:19:14 +00:00
commit a8ceafc1bd
4 changed files with 321 additions and 3 deletions

View file

@ -322,11 +322,11 @@ EOT;
$fs = new Filesystem();
$buildProperties = $this->getContainer()->getParameter('propel.build_properties');
$iniFile = $kernel->getRootDir().'/config/propel.ini';
$inifile = $kernel->getRootDir().'/config/propel.ini';
if (file_exists($inifile)) {
if ($fs->exists($iniFile)) {
$buildProperties = array_merge(
parse_ini_file($inifile),
parse_ini_file($iniFile),
$buildProperties
);
}