From 573aa196d412ab7c15ec0b8514cb91091fc6890d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Sat, 31 Jan 2015 16:04:24 +0100 Subject: [PATCH] Properly show the warning about the missing composer autoloader --- lib/base.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 558be6b570..8a79d4624d 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