diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-01 22:57:46 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-01 22:57:46 +0200 |
commit | 9eab8b39df34b507530b0beceb31eb23fbea54f5 (patch) | |
tree | 6b53d3f1b9aabd9d62092f1ad7b2568bd55b5c51 /lib/autoloader.php | |
parent | ce58c32c901fb874264922dabec1692f9d05123d (diff) | |
parent | 5ade595911261cf47cdad17deb4d1a013f523245 (diff) | |
download | nextcloud-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.php | 6 |
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) { |