git-svn-id: http://xe-core.googlecode.com/svn/trunk@965 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-05 01:15:43 +00:00
parent 045f08a8c3
commit d22dab39c4
9 changed files with 60 additions and 15 deletions

View file

@ -72,11 +72,7 @@
if(function_exists('imagecreatefromgif')) $checklist['gd'] = true;
else $checklist['gd'] = false;
// 6. mysql_get_client_info() 체크
if(mysql_get_client_info() < "4.1.00") $checklist['mysql'] = false;
else $checklist['mysql'] = true;
if(!$checklist['permission'] || !$checklist['xml'] || !$checklist['session']) $install_enable = false;
if(!$checklist['permission'] || !$checklist['xml'] || !$checklist['session'] || !$checklist['gd']) $install_enable = false;
else $install_enable = true;
// 체크 결과를 Context에 저장

View file

@ -21,7 +21,7 @@
$oController = &getController('install');
// 설치 불가능하다면 introduce를 출력
if(!$oController->checkInstallEnv()) $this->act = "dispIntroduce";
if(!$oController->checkInstallEnv()) $this->act = "dispInstallIntroduce";
// 설치 가능한 환경이라면 installController::makeDefaultDirectory() 실행
else $oController->makeDefaultDirectory();

View file

@ -18,7 +18,6 @@
'iconv' => 'ICONV 라이브러리',
'gd' => 'GD 라이브러리',
'session' => 'Session.auto_start 설정',
'mysql' => 'MySQL 버전',
);
$lang->install_checklist_desc = array(
@ -27,7 +26,6 @@
'session' => '[필수] 제로보드에서 세션 사용을 위해 php.ini 설정의 session.auto_start=0 이어야 합니다',
'iconv' => 'UTF-8과 다른 언어셋의 변환을 위한 iconv설치가 필요합니다',
'gd' => '이미지변환 기능을 사용하기 위해 GD라이브러리가 설치되어 있어야 합니다',
'mysql' => 'UTF-8 언어셋 사용을 위해 mysql버전이 4.1 이상이어야 합니다',
);
$lang->install_checklist_xml = 'XML라이브러리 설치';
@ -36,11 +34,10 @@
$lang->install_without_gd = '이미지 변환을 위한 gd 라이브러리가 설치되어 있지 않습니다';
$lang->install_checklist_gd = 'GD라이브러리 설치';
$lang->install_without_iconv = '문자열을 처리하기 위한 iconv 라이브러리가 설치되어 있지 않습니다';
$lang->install_mysql_version = 'mysql client version이 4.1 이하라서 문제가 발생할 수 있습니다';
$lang->install_session_auto_start = 'php설정의 session.auto_start==1 이라 세션 처리에 문제가 발생할 수 있습니다';
$lang->install_permission_denied = '설치대상 디렉토리의 퍼미션이 707이 아닙니다';
$lang->cmd_install_fix_checklist = '필수 조건을 만족시켰습니다.';
$lang->cmd_install_fix_checklist = '필수 조건을 설정후 다음 버튼을 눌러 주세요.';
$lang->cmd_install_next = '설치를 진행합니다';
$lang->db_title = 'DB정보 입력';

View file

@ -17,7 +17,13 @@
<!--@foreach($checklist as $key => $val)-->
<tr>
<td rowspan="2">{$lang->install_checklist_title[$key]}</td>
<td><!--@if($val)-->{$lang->enable}<!--@else-->{$lang->disable}<!--@end--></td>
<td>
<!--@if($val)-->
{$lang->enable}
<!--@else-->
<span style="font-weight:bold;color:red">{$lang->disable}</span>
<!--@end-->
</td>
</tr>
<tr>
<td>{$lang->install_checklist_desc[$key]}</td>
@ -45,6 +51,7 @@
</form>
<!--@else-->
<a href="./">{$lang->cmd_install_fix_checklist}</a>
{$lang->cmd_install_fix_checklist}
[<a href="./">{$lang->cmd_next}</a>]
<!--@end-->