From adcee5b695c25bc9e06dc9aeddb4ae2713a2ea05 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Mon, 1 Jul 2013 12:16:36 +0200 Subject: check php version, the encryption app needs php >= 5.3.3 --- apps/files_encryption/hooks/hooks.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files_encryption/hooks') diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index e39e068cc5d..786de177e89 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -39,10 +39,10 @@ class Hooks { */ public static function login($params) { $l = new \OC_L10N('files_encryption'); - //check if openssl is available - if(!extension_loaded("openssl") ) { - $error_msg = $l->t("PHP module OpenSSL is not installed."); - $hint = $l->t('Please ask your server administrator to install the module. For now the encryption app was disabled.'); + //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 >0 5.3.3 is installed. For now the encryption app was disabled.'); \OC_App::disable('files_encryption'); \OCP\Util::writeLog('Encryption library', $error_msg . ' ' . $hint, \OCP\Util::ERROR); \OCP\Template::printErrorPage($error_msg, $hint); -- cgit v1.2.3 table Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/common/_calendar.html.erb
blob: 942fb3452687fec30983447ebec322cf75f03455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42