Skip to content

Commit

Permalink
Merge pull request #2336 from codeigniter4/routesdualloadfix
Browse files Browse the repository at this point in the history
Correct cleaning of namespaces in FileLocater for better Windows compatibility. See #2203
  • Loading branch information
lonnieezell authored Oct 16, 2019
2 parents 0b3f556 + e5d2348 commit 372d795
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 372d795

Please sign in to comment.