summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-05-19 15:32:20 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-20 16:35:07 +0200
commitc9ad60defc7961a83e14c1a5518db5e26caeff1f (patch)
tree1c55407aeeaf8feaabc85b4e9a83a7d8bd9c49e0 /lib/base.php
parent802be173dae6d77dea2bb94cde0aadb27d350857 (diff)
downloadnextcloud-server-c9ad60defc7961a83e14c1a5518db5e26caeff1f.tar.gz
nextcloud-server-c9ad60defc7961a83e14c1a5518db5e26caeff1f.zip
Only allow loading of legacy (lib/private/legacy) by default
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/base.php b/lib/base.php
index eddcec97b1f..391bcf865a0 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -481,11 +481,7 @@ class OC {
$loaderStart = microtime(true);
require_once __DIR__ . '/autoloader.php';
self::$loader = new \OC\Autoloader([
- OC::$SERVERROOT . '/lib',
- OC::$SERVERROOT . '/core',
- OC::$SERVERROOT . '/settings',
- OC::$SERVERROOT . '/ocs',
- OC::$SERVERROOT . '/ocs-provider',
+ OC::$SERVERROOT . '/lib/private/legacy',
]);
if (defined('PHPUNIT_RUN')) {
self::$loader->addValidRoot(OC::$SERVERROOT . '/tests');