mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
설치시 php 5.2.2 설치 불가로 표시. mysql의 경우 127.0.0.1보다 자주 사용되는 localhost로 DB주소 변경 (이는 DB서버 관리자의 설정인데 localhost로 더 많이 사용한다고 판단)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1876 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d9a9453e1c
commit
ce3a27e00f
4 changed files with 9 additions and 3 deletions
|
|
@ -56,6 +56,10 @@
|
|||
// 각 필요한 항목 체크
|
||||
$checklist = array();
|
||||
|
||||
// 0. php 버전 체크 (5.2.2는 설치 불가)
|
||||
if(phpversion()=='5.2.2') $checklist['php_version'] = false;
|
||||
else $checklist['php_version'] = true;
|
||||
|
||||
// 1. permission 체크
|
||||
if(is_writable('./')||is_writable('./files')) $checklist['permission'] = true;
|
||||
else $checklist['permission'] = false;
|
||||
|
|
@ -76,7 +80,7 @@
|
|||
if(function_exists('imagecreatefromgif')) $checklist['gd'] = true;
|
||||
else $checklist['gd'] = false;
|
||||
|
||||
if(!$checklist['permission'] || !$checklist['xml'] || !$checklist['session']) $install_enable = false;
|
||||
if(!$checklist['php_version'] || !$checklist['permission'] || !$checklist['xml'] || !$checklist['session']) $install_enable = false;
|
||||
else $install_enable = true;
|
||||
|
||||
// 체크 결과를 Context에 저장
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue