Let's just use '/' as we do almost everywhere - this change fixes two failing unit tests
This commit is contained in:
parent
1da112750e
commit
988b539dd7
|
@ -96,8 +96,8 @@ class Autoloader {
|
|||
} else {
|
||||
foreach ($this->prefixPaths as $prefix => $dir) {
|
||||
if (0 === strpos($class, $prefix)) {
|
||||
$path = str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
|
||||
$path = str_replace('_', DIRECTORY_SEPARATOR, $path);
|
||||
$path = str_replace('\\', '/', $class) . '.php';
|
||||
$path = str_replace('_', '/', $path);
|
||||
$paths[] = $dir . '/' . $path;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue