mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-15 03:28:41 +00:00
Fix path
This commit is contained in:
parent
ab96277fb1
commit
1f4df655ad
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user