summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-01 22:57:46 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-01 22:57:46 +0200
commit9eab8b39df34b507530b0beceb31eb23fbea54f5 (patch)
tree6b53d3f1b9aabd9d62092f1ad7b2568bd55b5c51 /lib/autoloader.php
parentce58c32c901fb874264922dabec1692f9d05123d (diff)
parent5ade595911261cf47cdad17deb4d1a013f523245 (diff)
downloadnextcloud-server-9eab8b39df34b507530b0beceb31eb23fbea54f5.tar.gz
nextcloud-server-9eab8b39df34b507530b0beceb31eb23fbea54f5.zip
Merge branch 'master' into fixing-4620-master
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 2c19350e904..8b12e6bc4b7 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -73,10 +73,10 @@ class Autoloader {
}
} elseif (strpos($class, 'OC_') === 0) {
// first check for legacy classes if underscores are used
- $paths[] = 'legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
- $paths[] = strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
+ $paths[] = 'private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
+ $paths[] = 'private/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OC\\') === 0) {
- $paths[] = strtolower(str_replace('\\', '/', substr($class, 3)) . '.php');
+ $paths[] = 'private/' . strtolower(str_replace('\\', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OCP\\') === 0) {
$paths[] = 'public/' . strtolower(str_replace('\\', '/', substr($class, 4)) . '.php');
} elseif (strpos($class, 'OCA\\') === 0) {