ProxyFactory checks presence of directory with is_dir
instead of file_exists
This commit is contained in:
parent
92acd32410
commit
fde9d122cc
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class ProxyFactory
|
|||
$file = str_replace($placeholders, $replacements, $file);
|
||||
|
||||
$parentDirectory = dirname($fileName);
|
||||
if (! file_exists($parentDirectory)) {
|
||||
if (! is_dir($parentDirectory)) {
|
||||
mkdir($parentDirectory, 0, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue