Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-10 19:27:21 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-10 19:27:21 +0400
commit988b539dd7d1fef93219f44852208f49d928e67f (patch)
tree54e04703ac001273d60d229d4dab44460584a398 /lib/autoloader.php
parent1da112750e1c32ab50980434fea56c5d32723b6f (diff)
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.php4
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;
}
}