From 988b539dd7d1fef93219f44852208f49d928e67f Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Mon, 10 Jun 2013 17:27:21 +0200 Subject: [PATCH] Let's just use '/' as we do almost everywhere - this change fixes two failing unit tests --- lib/autoloader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/autoloader.php b/lib/autoloader.php index 9615838a9a..2117063909 100644 --- a/lib/autoloader.php +++ b/lib/autoloader.php @@ -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; } }