use configured cache directory
This commit is contained in:
parent
0dc2bd7e78
commit
b56f80a5a7
|
@ -96,7 +96,7 @@ abstract class AbstractPropelCommand extends ContainerAwareCommand
|
||||||
if (isset($properties['propel.schema.dir'])) {
|
if (isset($properties['propel.schema.dir'])) {
|
||||||
$this->cacheDir = $properties['propel.schema.dir'];
|
$this->cacheDir = $properties['propel.schema.dir'];
|
||||||
} else {
|
} else {
|
||||||
$this->cacheDir = $kernel->getRootDir().'/cache/' . $kernel->getEnvironment() . '/propel';
|
$this->cacheDir = $kernel->getCacheDir().'/propel';
|
||||||
|
|
||||||
$filesystem = new Filesystem();
|
$filesystem = new Filesystem();
|
||||||
$filesystem->remove($this->cacheDir);
|
$filesystem->remove($this->cacheDir);
|
||||||
|
|
Loading…
Reference in a new issue