summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-16 10:41:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-16 10:41:24 +0100
commit09a33b11a4823f050c8fa44b75462affe4801270 (patch)
treeafe8997ad5fe6a0cc10603981aba3c8738c64ad2 /lib
parentd001c4e375287bfcfc45d714def4ed835d886dbf (diff)
parent573aa196d412ab7c15ec0b8514cb91091fc6890d (diff)
downloadnextcloud-server-09a33b11a4823f050c8fa44b75462affe4801270.tar.gz
nextcloud-server-09a33b11a4823f050c8fa44b75462affe4801270.zip
Merge pull request #13809 from owncloud/fix-autoloader-message
Properly show the warning about the missing composer autoloader
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 558be6b570f..8a79d4624d8 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -478,7 +478,10 @@ class OC {
require_once $vendorAutoLoad;
} else {
OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
- OC_Template::printErrorPage('Composer autoloader not found, unable to continue.');
+ // we can't use the template error page here, because this needs the
+ // DI container which isn't available yet
+ print('Composer autoloader not found, unable to continue. Check the folder "3rdparty".');
+ exit();
}
// setup the basic server