Properly show the warning about the missing composer autoloader
This commit is contained in:
parent
012d06e8a2
commit
573aa196d4
|
@ -478,7 +478,10 @@ class OC {
|
||||||
require_once $vendorAutoLoad;
|
require_once $vendorAutoLoad;
|
||||||
} else {
|
} else {
|
||||||
OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE);
|
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
|
// setup the basic server
|
||||||
|
|
Loading…
Reference in New Issue