summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-10 12:06:44 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-10 12:06:44 +0100
commit51072f742ea2988d8e485dff60d81834e077fe3f (patch)
tree6d951db2af69ec024875e7e995677e60fdec814f /lib/base.php
parent262ec35d50353b2ae3ec0c1f4ee7d42d58f72b6f (diff)
parentd16b371e38af86af565156cbe703ad537cc0b963 (diff)
downloadnextcloud-server-51072f742ea2988d8e485dff60d81834e077fe3f.tar.gz
nextcloud-server-51072f742ea2988d8e485dff60d81834e077fe3f.zip
Merge pull request #21582 from owncloud/core_composer
Composers PSR-4 autoloader in core
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 70498f31567..7db4ec4a8fa 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -518,6 +518,9 @@ class OC {
exit();
}
+ // Add default composer PSR-4 autoloader
+ require_once OC::$SERVERROOT . '/lib/composer/autoload.php';
+
// setup the basic server
self::$server = new \OC\Server(\OC::$WEBROOT, self::$config);
\OC::$server->getEventLogger()->log('autoloader', 'Autoloader', $loaderStart, $loaderEnd);