diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-10 17:27:21 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-10 17:27:21 +0200 |
commit | 988b539dd7d1fef93219f44852208f49d928e67f (patch) | |
tree | 54e04703ac001273d60d229d4dab44460584a398 /lib/autoloader.php | |
parent | 1da112750e1c32ab50980434fea56c5d32723b6f (diff) | |
download | nextcloud-server-988b539dd7d1fef93219f44852208f49d928e67f.tar.gz nextcloud-server-988b539dd7d1fef93219f44852208f49d928e67f.zip |
Let's just use '/' as we do almost everywhere - this change fixes two failing unit tests
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r-- | lib/autoloader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php index 9615838a9a2..21170639092 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; } } |