summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-02 00:58:51 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-10-02 00:58:51 +0300
commit5bb4330ea47e1c0839bebaeb9afbf1a1f7a77916 (patch)
treebe96f2991cebdcc7f84b4e232c547ae21d23fffc /lib/autoloader.php
parent5ade595911261cf47cdad17deb4d1a013f523245 (diff)
downloadnextcloud-server-5bb4330ea47e1c0839bebaeb9afbf1a1f7a77916.tar.gz
nextcloud-server-5bb4330ea47e1c0839bebaeb9afbf1a1f7a77916.zip
Fix autoloader regression
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 72041200116..44d19ae0ee2 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) {