8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96f1c4 commit cdb6c15Copy full SHA for cdb6c15
src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php
@@ -49,7 +49,7 @@ public function warmUp($cacheDir)
49
foreach ($this->registry->getManagers() as $em) {
50
// we need the directory no matter the proxy cache generation strategy
51
if (!is_dir($proxyCacheDir = $em->getConfiguration()->getProxyDir())) {
52
- if (false === @mkdir($proxyCacheDir, 0777, true)) {
+ if (false === @mkdir($proxyCacheDir, 0777, true) && !is_dir($proxyCacheDir)) {
53
throw new \RuntimeException(sprintf('Unable to create the Doctrine Proxy directory "%s".', $proxyCacheDir));
54
}
55
} elseif (!is_writable($proxyCacheDir)) {
0 commit comments