mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-07 04:58:40 +00:00
Fix path
This commit is contained in:
parent
ab96277fb1
commit
1f4df655ad
|
|
@ -102,7 +102,7 @@ class FileLogger implements LoggerInterface
|
||||||
$this->verbose = $verbose;
|
$this->verbose = $verbose;
|
||||||
|
|
||||||
if (is_dir($lpath) || strpos($lpath, '.') === false) {
|
if (is_dir($lpath) || strpos($lpath, '.') === false) {
|
||||||
$path = $path . '/' . date('Y-m-d') . '.log';
|
$path = $lpath . '/' . date('Y-m-d') . '.log';
|
||||||
} else {
|
} else {
|
||||||
$path = $lpath;
|
$path = $lpath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user