Merge branch '2.0'
This commit is contained in:
commit
566472cc9b
|
@ -96,7 +96,7 @@ abstract class AbstractPropelCommand extends ContainerAwareCommand
|
|||
if (isset($properties['propel.schema.dir'])) {
|
||||
$this->cacheDir = $properties['propel.schema.dir'];
|
||||
} else {
|
||||
$this->cacheDir = $kernel->getRootDir().'/cache/' . $kernel->getEnvironment() . '/propel';
|
||||
$this->cacheDir = $kernel->getCacheDir().'/propel';
|
||||
|
||||
$filesystem = new Filesystem();
|
||||
$filesystem->remove($this->cacheDir);
|
||||
|
|
|
@ -62,8 +62,8 @@ EOT
|
|||
|
||||
$ret = $this->callPhing('reverse', array(
|
||||
'propel.project' => $name,
|
||||
'propel.database' => $defaultConfig['adapter'],
|
||||
'propel.database.url' => $defaultConfig['connection']['dsn'],
|
||||
'propel.database.database' => $defaultConfig['adapter'],
|
||||
'propel.database.user' => $defaultConfig['connection']['user'],
|
||||
'propel.database.password' => isset($defaultConfig['connection']['password']) ? $defaultConfig['connection']['password'] : '',
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue