설치시 GD 라이브러리 체크 코드 추가
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once ('../config.php');
|
include_once ('../config.php');
|
||||||
$title = G5_VERSION." 설치 3단계 중 1단계 라이센스 확인";
|
$title = G5_VERSION." 설치 3단계 중 1단계 라이센스 확인";
|
||||||
|
require_once('./library.check.php');
|
||||||
include_once ('./install.inc.php');
|
include_once ('./install.inc.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
14
install/library.check.php
Normal file
14
install/library.check.php
Normal 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.' 설치를 진행해 주십시오.');
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user