Properly show the warning about the missing composer autoloader

This commit is contained in:
Morris Jobke 2015-01-31 16:04:24 +01:00
parent 012d06e8a2
commit 573aa196d4
1 changed files with 4 additions and 1 deletions

View File

@ -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