summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-31 16:04:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-31 20:48:58 +0100
commit573aa196d412ab7c15ec0b8514cb91091fc6890d (patch)
tree1ed6b183e3d2a543ba8ff51feb6b0ca0f16b1c72 /lib/base.php
parent012d06e8a2f447ba340256eedcd69f68f40bcb9c (diff)
downloadnextcloud-server-573aa196d412ab7c15ec0b8514cb91091fc6890d.tar.gz
nextcloud-server-573aa196d412ab7c15ec0b8514cb91091fc6890d.zip
Properly show the warning about the missing composer autoloader
Diffstat (limited to 'lib/base.php')
-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