Browse Source

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

Properly show the warning about the missing composer autoloader
remotes/origin/log-external-deletes
Thomas Müller 11 years ago
parent
commit
09a33b11a4
  1. 5
      lib/base.php

5
lib/base.php

@ -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…
Cancel
Save