update error message
This commit is contained in:
parent
0dd44eaf27
commit
1509dd1358
|
@ -66,7 +66,7 @@ class Hooks {
|
||||||
//check if all requirements are met
|
//check if all requirements are met
|
||||||
if (!Helper::checkRequirements() || !Helper::checkConfiguration()) {
|
if (!Helper::checkRequirements() || !Helper::checkConfiguration()) {
|
||||||
$error_msg = $l->t("Missing requirements.");
|
$error_msg = $l->t("Missing requirements.");
|
||||||
$hint = $l->t('Please make sure that PHP 5.3.3 or newer is installed and that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled.');
|
$hint = $l->t('Please make sure that OpenSSL together with the PHP extension is enabled and configured properly. For now, the encryption app has been disabled.');
|
||||||
\OC_App::disable('files_encryption');
|
\OC_App::disable('files_encryption');
|
||||||
\OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR);
|
\OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR);
|
||||||
\OCP\Template::printErrorPage($error_msg, $hint);
|
\OCP\Template::printErrorPage($error_msg, $hint);
|
||||||
|
|
Loading…
Reference in New Issue