aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks/hooks.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-09 18:02:40 +0200
committerkondou <kondou@ts.unde.re>2013-08-09 18:02:40 +0200
commit80e9744da0045f562bebb14e838d464395760cdc (patch)
tree707a44cc36013e532b34eb33ce28fd5704504bd0 /apps/files_encryption/hooks/hooks.php
parent605050df9b42ba68b2d8c34a4075a5af4ebd312c (diff)
parent98f836363a1aee8dbc767068fcb357802f228cf2 (diff)
downloadnextcloud-server-80e9744da0045f562bebb14e838d464395760cdc.tar.gz
nextcloud-server-80e9744da0045f562bebb14e838d464395760cdc.zip
Merge branch 'master' into improve_app-management
Diffstat (limited to 'apps/files_encryption/hooks/hooks.php')
-rw-r--r--apps/files_encryption/hooks/hooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 741df166b70..07da839e8a2 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -40,9 +40,9 @@ class Hooks {
public static function login($params) {
$l = new \OC_L10N('files_encryption');
//check if all requirements are met
- if(!Helper::checkRequirements() ) {
+ if(!Helper::checkRequirements() || !Helper::checkConfiguration() ) {
$error_msg = $l->t("Missing requirements.");
- $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.');
+ $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.');
\OC_App::disable('files_encryption');
\OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR);
\OCP\Template::printErrorPage($error_msg, $hint);