From 8df51a7ec0d2457f0fe4f3c34be231cf6f31d452 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sun, 29 Jun 2014 15:26:09 +0200 Subject: [PATCH] made mcrypt a framework requirement --- apps/advanced/requirements.php | 8 -------- apps/basic/requirements.php | 8 -------- framework/requirements/requirements.php | 7 +++++++ 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/apps/advanced/requirements.php b/apps/advanced/requirements.php index a26e4bbad5..bc4018f259 100644 --- a/apps/advanced/requirements.php +++ b/apps/advanced/requirements.php @@ -69,14 +69,6 @@ $requirements = array( 'condition' => extension_loaded('apc'), 'by' => 'ApcCache', ), - // Additional PHP extensions : - array( - 'name' => 'Mcrypt extension', - 'mandatory' => false, - 'condition' => extension_loaded('mcrypt'), - 'by' => 'Security Helper', - 'memo' => 'Required by encrypt and decrypt methods.' - ), // PHP ini : 'phpSafeMode' => array( 'name' => 'PHP safe mode', diff --git a/apps/basic/requirements.php b/apps/basic/requirements.php index db53ef4e4e..a38b9363f0 100644 --- a/apps/basic/requirements.php +++ b/apps/basic/requirements.php @@ -69,14 +69,6 @@ $requirements = array( 'condition' => extension_loaded('apc'), 'by' => 'ApcCache', ), - // Additional PHP extensions : - array( - 'name' => 'Mcrypt extension', - 'mandatory' => false, - 'condition' => extension_loaded('mcrypt'), - 'by' => 'Security Helper', - 'memo' => 'Required by encrypt and decrypt methods.' - ), // PHP ini : 'phpSafeMode' => array( 'name' => 'PHP safe mode', diff --git a/framework/requirements/requirements.php b/framework/requirements/requirements.php index 53cf0ab532..f85bbdda69 100644 --- a/framework/requirements/requirements.php +++ b/framework/requirements/requirements.php @@ -38,6 +38,13 @@ return array( 'by' => 'Multibyte string processing', 'memo' => 'Required for multibyte encoding string processing.' ), + array( + 'name' => 'Mcrypt extension', + 'mandatory' => false, + 'condition' => extension_loaded('mcrypt'), + 'by' => 'Security Helper', + 'memo' => 'Required by encrypt and decrypt methods.' + ), array( 'name' => 'Intl extension', 'mandatory' => false,