Skip to content

Commit

Permalink
Correct cleaning of namespaces in FileLocater for better Windows comp…
Browse files Browse the repository at this point in the history
…atibility. See #2203
  • Loading branch information
lonnieezell committed Oct 16, 2019
1 parent 0b3f556 commit e5d2348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Autoloader/FileLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ protected function getNamespaces()
{
$namespaces[] = [
'prefix' => $prefix,
'path' => rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR,
'path' => rtrim($path, '\\/') . DIRECTORY_SEPARATOR,
];
}
}
Expand Down

0 comments on commit e5d2348

Please sign in to comment.