Let's just use '/' as we do almost everywhere - this change fixes two failing unit tests

This commit is contained in:
Thomas Mueller 2013-06-10 17:27:21 +02:00
parent 1da112750e
commit 988b539dd7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}