Properly show the warning about the missing composer autoloader

remotes/origin/log-external-deletes
Morris Jobke 10 years ago
parent 012d06e8a2
commit 573aa196d4
  1. 5
      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

Loading…
Cancel
Save