diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 12:06:44 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 12:06:44 +0100 |
commit | 51072f742ea2988d8e485dff60d81834e077fe3f (patch) | |
tree | 6d951db2af69ec024875e7e995677e60fdec814f /lib/base.php | |
parent | 262ec35d50353b2ae3ec0c1f4ee7d42d58f72b6f (diff) | |
parent | d16b371e38af86af565156cbe703ad537cc0b963 (diff) | |
download | nextcloud-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.php | 3 |
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); |