зеркало из https://github.com/nextcloud/server.git
more verbose error message
This commit is contained in:
Родитель
3fc5b34247
Коммит
f30dd1557e
|
@ -42,7 +42,7 @@ class Hooks {
|
|||
//check if all requirements are met
|
||||
if(!Helper::checkRequirements() ) {
|
||||
$error_msg = $l->t("Missing requirements.");
|
||||
$hint = $l->t('Please make sure that the OpenSSL module and PHP >= 5.3.3 is installed. For now, the encryption app has been disabled.');
|
||||
$hint = $l->t('Please make sure that PHP 5.3.3 or newer is installed and that the OpenSSL PHP extension is enabled and configured properly. For now, the encryption app has been disabled.');
|
||||
\OC_App::disable('files_encryption');
|
||||
\OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR);
|
||||
\OCP\Template::printErrorPage($error_msg, $hint);
|
||||
|
|
Загрузка…
Ссылка в новой задаче