diff --git a/classes/Core/Installer/Psr4ClassNameResolver.php b/classes/Core/Installer/Psr4ClassNameResolver.php index ed9202ca..4baf8682 100644 --- a/classes/Core/Installer/Psr4ClassNameResolver.php +++ b/classes/Core/Installer/Psr4ClassNameResolver.php @@ -35,7 +35,7 @@ final class Psr4ClassNameResolver { // Normalize inputs $prefix = trim($prefix, '\\') . '\\'; - $baseDir = rtrim($baseDir, '/') . '/'; + $baseDir = rtrim($baseDir, '/\\') . DIRECTORY_SEPARATOR; $this->prefixes[$prefix] = $baseDir; }