Merge pull request #13809 from owncloud/fix-autoloader-message

Properly show the warning about the missing composer autoloader
This commit is contained in:
Thomas Müller 2015-02-16 10:41:24 +01:00
commit 09a33b11a4
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