#195 XE설치시 php버전 5.3.10 이상인지 체크후 권장메세지 출력

This commit is contained in:
khongchi 2013-12-20 10:38:46 +09:00
parent c5c69bba4e
commit 30c5bb1971
3 changed files with 14 additions and 1 deletions

View file

@ -334,7 +334,13 @@ class installController extends install
$checklist = array();
// 0. check your version of php (5.2.4 or higher)
if(version_compare(PHP_VERSION, '5.2.4') == -1) $checklist['php_version'] = false;
else if(version_compare(PHP_VERSION, '5.3.10') == -1)
{
$checklist['php_version'] = true;
Context::set('phpversion_warning', true);
}
else $checklist['php_version'] = true;
// 1. Check permission
if(is_writable('./')||is_writable('./files')) $checklist['permission'] = true;
else $checklist['permission'] = false;