Skip to content

Commit e5d2348

Browse files
committed
Correct cleaning of namespaces in FileLocater for better Windows compatibility. See #2203
1 parent 0b3f556 commit e5d2348

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Autoloader/FileLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ protected function getNamespaces()
292292
{
293293
$namespaces[] = [
294294
'prefix' => $prefix,
295-
'path' => rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR,
295+
'path' => rtrim($path, '\\/') . DIRECTORY_SEPARATOR,
296296
];
297297
}
298298
}

0 commit comments

Comments
 (0)