Browse Source

OC_xx all live in the legacy folder

remotes/origin/ceph-wait-for-http
Roeland Jago Douma 10 years ago
parent
commit
5a5a5b2032
No known key found for this signature in database GPG Key ID: 1E152838F164D13B
  1. 1
      lib/autoloader.php

1
lib/autoloader.php

@ -102,7 +102,6 @@ class Autoloader {
}
} elseif (strpos($class, 'OC_') === 0) {
$paths[] = \OC::$SERVERROOT . '/lib/private/legacy/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
$paths[] = \OC::$SERVERROOT . '/lib/private/' . strtolower(str_replace('_', '/', substr($class, 3)) . '.php');
} elseif (strpos($class, 'OC\\') === 0) {
$split = explode('\\', $class, 3);

Loading…
Cancel
Save