diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-31 16:04:24 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-31 20:48:58 +0100 |
commit | 573aa196d412ab7c15ec0b8514cb91091fc6890d (patch) | |
tree | 1ed6b183e3d2a543ba8ff51feb6b0ca0f16b1c72 /lib/base.php | |
parent | 012d06e8a2f447ba340256eedcd69f68f40bcb9c (diff) | |
download | nextcloud-server-573aa196d412ab7c15ec0b8514cb91091fc6890d.tar.gz nextcloud-server-573aa196d412ab7c15ec0b8514cb91091fc6890d.zip |
Properly show the warning about the missing composer autoloader
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 558be6b570f..8a79d4624d8 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 |