Commit 97e29e00 authored by Jonathan H. Wage's avatar Jonathan H. Wage

Fixing orm:generate-proxies command to create the destination direction if it does not exist yet

parent 10aaf93c
......@@ -79,6 +79,10 @@ EOT
$destPath = $em->getConfiguration()->getProxyDir();
}
if ( ! is_dir($destPath)) {
mkdir($destPath, 0777, true);
}
$destPath = realpath($destPath);
if ( ! file_exists($destPath)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment