From cb22fd9c64b163f4642e2a9e2fcbff87abf37949 Mon Sep 17 00:00:00 2001 From: Klimov Paul Date: Mon, 20 May 2013 20:37:19 +0300 Subject: [PATCH] PHP Intl extension has been added to default Yii requirements. --- yii/requirements/requirements.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/yii/requirements/requirements.php b/yii/requirements/requirements.php index a703fde..125ff60 100644 --- a/yii/requirements/requirements.php +++ b/yii/requirements/requirements.php @@ -2,6 +2,8 @@ /** * This is the Yii core requirements for the [[YiiRequirementChecker]] instance. * These requirements are mandatory for any Yii application. + * + * @var $this YiiRequirementChecker */ return array( array( @@ -36,4 +38,11 @@ return array( 'by' => 'Multibyte string processing', 'memo' => 'Required for multibyte encoding string processing.' ), + array( + 'name' => 'Intl extension', + 'mandatory' => true, + 'condition' => $this->checkPhpExtensionVersion('intl', '1.0.2'), + 'by' => 'Internationalization support', + 'memo' => 'PHP Intl extension 1.0.2 or higher is required.' + ), ); \ No newline at end of file