#1 OpenXE does not run on Windows

This commit is contained in:
Roland Rusch 2023-07-13 20:24:16 +02:00
parent 2eabd85b91
commit 6f5272717f

View File

@ -35,7 +35,7 @@ final class Psr4ClassNameResolver
{
// Normalize inputs
$prefix = trim($prefix, '\\') . '\\';
$baseDir = rtrim($baseDir, '/') . '/';
$baseDir = rtrim($baseDir, '/\\') . DIRECTORY_SEPARATOR;
$this->prefixes[$prefix] = $baseDir;
}