Commit 653b4d1f by Klimov Paul

PHP version fallback for "YiiRequirementChecker" has been added.

parent e0682294
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
* @license http://www.yiiframework.com/license/ * @license http://www.yiiframework.com/license/
*/ */
if (version_compare(PHP_VERSION, '4.3', '<')) {
echo 'At least PHP 4.3 is required to run this script!';
exit(1);
}
/** /**
* YiiRequirementChecker allows checking, if current system meets the requirements for running the application. * YiiRequirementChecker allows checking, if current system meets the requirements for running the application.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment