summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-02 03:10:10 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-02 03:10:10 -0700
commit1adadf36fca29f7d688bcbf84ae53f6ecc16e53c (patch)
tree99a28044263bab3ea3ae2d00b082b210b2d83f9f /lib
parent535ed8369f701a184340a428e82cc8d7cc7588bb (diff)
parentceeb22aa5ff354419051b96e94d6239c69d7b206 (diff)
downloadnextcloud-server-1adadf36fca29f7d688bcbf84ae53f6ecc16e53c.tar.gz
nextcloud-server-1adadf36fca29f7d688bcbf84ae53f6ecc16e53c.zip
Merge pull request #5071 from owncloud/fix-autoloader-master
Fix autoloader regression
Diffstat (limited to 'lib')
-rw-r--r--lib/autoloader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 8b12e6bc4b7..b5b58918372 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -77,6 +77,7 @@ class Autoloader {
$paths[] = 'private/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OC\\') === 0) {
$paths[] = 'private/' . strtolower(str_replace('\\', '/', substr($class, 3)) . '.php');
+ $paths[] = 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) {