summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-11-03 13:10:03 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-11-03 16:57:16 +0100
commit994768d99f0c0ea0e50f30774005a75e7533e105 (patch)
tree9f708f8c3df7b581671af81378dc5752a9a8dcc2 /lib/base.php
parentf8f38b06dfef0af2555124cf0d1ec55402aa8c8c (diff)
downloadnextcloud-server-994768d99f0c0ea0e50f30774005a75e7533e105.tar.gz
nextcloud-server-994768d99f0c0ea0e50f30774005a75e7533e105.zip
Update Pimple to V3.0
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index d428d45d90a..7fa53c3a074 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -457,8 +457,7 @@ class OC {
// setup 3rdparty autoloader
$vendorAutoLoad = OC::$THIRDPARTYROOT . '/3rdparty/autoload.php';
if (file_exists($vendorAutoLoad)) {
- $loader = require_once $vendorAutoLoad;
- $loader->add('Pimple',OC::$THIRDPARTYROOT . '/3rdparty/Pimple');
+ require_once $vendorAutoLoad;
} else {
OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
OC_Template::printErrorPage('Composer autoloader not found, unable to continue.');