Skip to content

Commit 1b60518

Browse files
committed
replace path
1 parent b8f30e9 commit 1b60518

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LogFile.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class LogFile
2929

3030
public function __construct(string $path)
3131
{
32+
$path = str_replace('\\', '/', $path);
3233
$pathInfo = pathinfo($path);
3334
$this->path = $path;
3435
$this->name = $pathInfo['basename'];

0 commit comments

Comments
 (0)