Fixing orm:generate-proxies command to create the destination direction if it does not exist yet
This commit is contained in:
parent
10aaf93c44
commit
97e29e00a7
@ -79,6 +79,10 @@ EOT
|
||||
$destPath = $em->getConfiguration()->getProxyDir();
|
||||
}
|
||||
|
||||
if ( ! is_dir($destPath)) {
|
||||
mkdir($destPath, 0777, true);
|
||||
}
|
||||
|
||||
$destPath = realpath($destPath);
|
||||
|
||||
if ( ! file_exists($destPath)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user