g5 merge 충돌 수정

This commit is contained in:
chicpro
2013-10-04 15:34:55 +09:00
6 changed files with 20 additions and 9 deletions

View File

@ -1,6 +1,7 @@
<?php
include_once ('../config.php');
$title = G5_VERSION." 설치 3단계 중 1단계 라이센스 확인";
require_once('./library.check.php');
include_once ('./install.inc.php');
?>

14
install/library.check.php Normal file
View File

@ -0,0 +1,14 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
function die_utf8($msg)
{
if(!trim($msg))
return;
die('<meta charset="utf-8"><p>'.$msg.'</p>');
}
if(!extension_loaded('gd') || !function_exists('gd_info'))
die('GD 라이브러리를 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.');
?>