mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	made mcrypt a framework requirement
This commit is contained in:
		@ -69,14 +69,6 @@ $requirements = array(
 | 
			
		||||
        'condition' => extension_loaded('apc'),
 | 
			
		||||
        '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 :
 | 
			
		||||
    'phpSafeMode' => array(
 | 
			
		||||
        'name' => 'PHP safe mode',
 | 
			
		||||
 | 
			
		||||
@ -69,14 +69,6 @@ $requirements = array(
 | 
			
		||||
        'condition' => extension_loaded('apc'),
 | 
			
		||||
        '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 :
 | 
			
		||||
    'phpSafeMode' => array(
 | 
			
		||||
        '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',
 | 
			
		||||
        '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(
 | 
			
		||||
        'name' => 'Intl extension',
 | 
			
		||||
        'mandatory' => false,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user