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/appinfo/app.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/files_encryption/appinfo') diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php index d97811bb791..78b226be013 100644 --- a/apps/files_encryption/appinfo/app.php +++ b/apps/files_encryption/appinfo/app.php @@ -34,10 +34,9 @@ if (!OC_Config::getValue('maintenance', false)) { $view = new OC_FilesystemView('/'); - $sessionReady = false; - if(extension_loaded("openssl")) { + $sessionReady = OCA\Encryption\Helper::checkRequirements(); + if($sessionReady) { $session = new \OCA\Encryption\Session($view); - $sessionReady = true; } $user = \OCP\USER::getUser(); -- cgit v1.2.3