Browse Source
\OCP is handled by composer autoloader
remotes/origin/throw-loginexception-failed-login
Roeland Jago Douma
10 years ago
committed by
Vincent Petry
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with
0 additions and
2 deletions
-
lib/autoloader.php
|
|
|
@ -102,8 +102,6 @@ class Autoloader { |
|
|
|
} |
|
|
|
} elseif (strpos($class, 'OC_') === 0) { |
|
|
|
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php'); |
|
|
|
} elseif (strpos($class, 'OCP\\') === 0) { |
|
|
|
$paths[] = \OC::$SERVERROOT . '/lib/public/' . strtolower(str_replace('\\', '/', substr($class, 4)) . '.php'); |
|
|
|
} elseif (strpos($class, 'OCA\\') === 0) { |
|
|
|
list(, $app, $rest) = explode('\\', $class, 3); |
|
|
|
$app = strtolower($app); |
|
|
|
|