Skip to content

Commit 98c6ee6

Browse files
committed
fix: Class Path
1 parent add0179 commit 98c6ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webfiori/framework/writers/ClassWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function setPath(string $path) : bool {
370370
if (strlen($trimmed) == 0) {
371371
return false;
372372
}
373-
$this->path = $path;
373+
$this->path = str_replace('\\', DS, str_replace('/', DS, $trimmed));
374374

375375
return true;
376376
}

0 commit comments

Comments
 (0)