Change minimum PHP version to 5.5.9

This commit is contained in:
Kijin Sung 2016-03-22 10:45:27 +09:00
parent 501461d010
commit e34f59a66f
4 changed files with 21 additions and 18 deletions

View file

@ -364,15 +364,14 @@ class installController extends install
$checklist = array();
// Check PHP version
$checklist['php_version'] = true;
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '<'))
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '>='))
{
$checklist['php_version'] = true;
}
else
{
$checklist['php_version'] = false;
}
if(version_compare(PHP_VERSION, __XE_RECOMMEND_PHP_VERSION__, '<'))
{
Context::set('phpversion_warning', true);
}
// Check DB
if(DB::getEnableList())