mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-11 19:20:01 +08:00
made mcrypt a framework requirement
This commit is contained in:
@@ -69,14 +69,6 @@ $requirements = array(
|
|||||||
'condition' => extension_loaded('apc'),
|
'condition' => extension_loaded('apc'),
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
||||||
),
|
),
|
||||||
// Additional PHP extensions :
|
|
||||||
array(
|
|
||||||
'name' => 'Mcrypt extension',
|
|
||||||
'mandatory' => false,
|
|
||||||
'condition' => extension_loaded('mcrypt'),
|
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-helpers-security.html">Security Helper</a>',
|
|
||||||
'memo' => 'Required by encrypt and decrypt methods.'
|
|
||||||
),
|
|
||||||
// PHP ini :
|
// PHP ini :
|
||||||
'phpSafeMode' => array(
|
'phpSafeMode' => array(
|
||||||
'name' => 'PHP safe mode',
|
'name' => 'PHP safe mode',
|
||||||
|
|||||||
@@ -69,14 +69,6 @@ $requirements = array(
|
|||||||
'condition' => extension_loaded('apc'),
|
'condition' => extension_loaded('apc'),
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-caching-apccache.html">ApcCache</a>',
|
||||||
),
|
),
|
||||||
// Additional PHP extensions :
|
|
||||||
array(
|
|
||||||
'name' => 'Mcrypt extension',
|
|
||||||
'mandatory' => false,
|
|
||||||
'condition' => extension_loaded('mcrypt'),
|
|
||||||
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-helpers-security.html">Security Helper</a>',
|
|
||||||
'memo' => 'Required by encrypt and decrypt methods.'
|
|
||||||
),
|
|
||||||
// PHP ini :
|
// PHP ini :
|
||||||
'phpSafeMode' => array(
|
'phpSafeMode' => array(
|
||||||
'name' => 'PHP safe mode',
|
'name' => 'PHP safe mode',
|
||||||
|
|||||||
@@ -38,6 +38,13 @@ return array(
|
|||||||
'by' => '<a href="http://www.php.net/manual/en/book.mbstring.php">Multibyte string</a> processing',
|
'by' => '<a href="http://www.php.net/manual/en/book.mbstring.php">Multibyte string</a> processing',
|
||||||
'memo' => 'Required for multibyte encoding string processing.'
|
'memo' => 'Required for multibyte encoding string processing.'
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'name' => 'Mcrypt extension',
|
||||||
|
'mandatory' => false,
|
||||||
|
'condition' => extension_loaded('mcrypt'),
|
||||||
|
'by' => '<a href="http://www.yiiframework.com/doc-2.0/yii-helpers-security.html">Security Helper</a>',
|
||||||
|
'memo' => 'Required by encrypt and decrypt methods.'
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'Intl extension',
|
'name' => 'Intl extension',
|
||||||
'mandatory' => false,
|
'mandatory' => false,
|
||||||
|
|||||||
Reference in New Issue
Block a user