This commit is contained in:
Dennis Eichhorn 2018-02-26 20:12:25 +01:00
parent ab96277fb1
commit 1f4df655ad

View File

@ -102,7 +102,7 @@ class FileLogger implements LoggerInterface
$this->verbose = $verbose;
if (is_dir($lpath) || strpos($lpath, '.') === false) {
$path = $path . '/' . date('Y-m-d') . '.log';
$path = $lpath . '/' . date('Y-m-d') . '.log';
} else {
$path = $lpath;
}