We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0297b11 commit d46eb99Copy full SHA for d46eb99
1 file changed
src/Service/Hyva/ModuleScanner.php
@@ -203,7 +203,8 @@ public function getModuleInfo(string $modulePath): array
203
*/
204
private function getBasename(string $path): string
205
{
206
- $trimmed = rtrim($path, '/');
+ $normalized = str_replace('\\', '/', $path);
207
+ $trimmed = rtrim($normalized, '/');
208
$pos = strrpos($trimmed, '/');
209
if ($pos === false) {
210
return $trimmed;
0 commit comments