mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
#195 XE설치시 php버전 5.3.10 이상인지 체크후 권장메세지 출력
This commit is contained in:
parent
c5c69bba4e
commit
30c5bb1971
3 changed files with 14 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue