[Pkg-owncloud-commits] [owncloud] 30/95: Properly show the warning about the missing composer autoloader
David Prévot
taffit at moszumanska.debian.org
Wed Mar 11 15:49:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.
commit b25bfb279643b3739df8fa8f0310ecb2e556ff75
Author: Morris Jobke <hey at morrisjobke.de>
Date: Sat Jan 31 16:04:24 2015 +0100
Properly show the warning about the missing composer autoloader
---
lib/base.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/base.php b/lib/base.php
index 558be6b..8a79d46 100644
--- a/lib/base.php
+++ b/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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list