mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
ssue 3635 인스톨시 php version check 수정
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13190 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5461e7249c
commit
172d4d8b9c
2 changed files with 6 additions and 12 deletions
|
|
@ -330,7 +330,9 @@ class installController extends install
|
|||
// Check each item
|
||||
$checklist = array();
|
||||
// 0. check your version of php (5.2.4 upper)
|
||||
if(version_compare(phpversion(), '5.2.4') == -1) $checklist['php_version'] = false;
|
||||
$checkPHPVersion = phpversion();
|
||||
$checkPHPVersion = "5.2.1";
|
||||
if(version_compare($checkPHPVersion, '5.2.4') == -1) $checklist['php_version'] = false;
|
||||
else $checklist['php_version'] = true;
|
||||
// 1. Check permission
|
||||
if(is_writable('./')||is_writable('./files')) $checklist['permission'] = true;
|
||||
|
|
@ -357,7 +359,7 @@ class installController extends install
|
|||
// Save the checked result to the Context
|
||||
Context::set('checklist', $checklist);
|
||||
Context::set('install_enable', $install_enable);
|
||||
Context::set('phpversion', phpversion());
|
||||
Context::set('phpversion', $checkPHPVersion);
|
||||
|
||||
return $install_enable;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,16 +155,8 @@
|
|||
</item>
|
||||
<item name="install_checklist_desc" type="array">
|
||||
<item name="php_version">
|
||||
<value xml:lang="ko"><![CDATA[[필수] PHP버전이 5.2.2일 경우 PHP의 버그로 인하여 설치되지 않습니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[[Required] If PHP version is 5.2.2, XE will not be installed because of a bug]]></value>
|
||||
<value xml:lang="jp"><![CDATA[【必須】PHPバージョンが 5.2.2の場合は、PHPのセキュリティバグのため、インストールできません。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[[必须] 由于 PHP 5.2.2 版本BUG,无法安装 XE。]]></value>
|
||||
<value xml:lang="zh-TW"><![CDATA[[必須] 由於 PHP 5.2.2 版本的問題,無法安裝 XE 程式。]]></value>
|
||||
<value xml:lang="fr"><![CDATA[[Obligatoire] Si la version de PHP est 5.2.2, XE ne sera pas installé à cause du bogue]]></value>
|
||||
<value xml:lang="ru"><![CDATA[[Требуется] Если версия PHP равна 5.2.2, то XE не будет установлена из-за бага]]></value>
|
||||
<value xml:lang="es"><![CDATA[[Requerido] Si la versión de PHP es 5.2.2, XE no sera instalado por errores]]></value>
|
||||
<value xml:lang="tr"><![CDATA[[Gerekli] Eğer PHP sürümü 5.2.2 ise, XE yazılım hatasından dolayı kurulmayacaktır]]></value>
|
||||
<value xml:lang="vi"><![CDATA[[Bắt buộc] Nếu phiên bản của PHP là 5.2.2, XE sẽ không thể cài đặt vì có lỗi.]]></value>
|
||||
<value xml:lang="ko"><![CDATA[[필수] PHP버전이 5.2.4 이상에서 설치가 가능합니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[[Required] XE supports only PHP Version 5.2.4 or higher]]></value>
|
||||
</item>
|
||||
<item name="permission">
|
||||
<value xml:lang="ko"><![CDATA[[필수] XE의 설치 경로 또는 ./files 디렉토리의 퍼미션이 707이어야 합니다.]]></value>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue