diff --git a/Log/FileLogger.php b/Log/FileLogger.php index b9448128d..0389338c6 100644 --- a/Log/FileLogger.php +++ b/Log/FileLogger.php @@ -101,7 +101,7 @@ class FileLogger implements LoggerInterface throw new PathException($lpath); } - if (is_dir($lpath)) { + if (is_dir($lpath) || strpos($lpath, '.') === false) { if (!file_exists($lpath)) { mkdir($lpath, 0644, true); }