]> source.dussan.org Git - nextcloud-server.git/commitdiff
Let's just use '/' as we do almost everywhere - this change fixes two failing unit...
authorThomas Mueller <thomas.mueller@tmit.eu>
Mon, 10 Jun 2013 15:27:21 +0000 (17:27 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Mon, 10 Jun 2013 15:27:21 +0000 (17:27 +0200)
lib/autoloader.php

index 9615838a9a2a27d608621ad32cf8eddb6e0ac5e2..21170639092029561eefb9e9aa0212d5202bb09d 100644 (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;
                                }
                        }