1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

ProxyFactory checks presence of directory with is_dir instead of file_exists

This commit is contained in:
Eric Clemmons 2011-10-20 13:33:20 -07:00
parent 92acd32410
commit fde9d122cc

View file

@ -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);
}