필수 모듈 체크 후 알림 방법 변경
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
<?php
|
||||
include_once ('../config.php');
|
||||
$title = G5_VERSION." 라이센스 확인 1/3";
|
||||
require_once('./library.check.php');
|
||||
include_once ('./install.inc.php');
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($exists_data_dir && $write_data_dir) {
|
||||
// 필수 모듈 체크
|
||||
require_once('./library.check.php');
|
||||
?>
|
||||
<form action="./install_config.php" method="post" onsubmit="return frm_submit(this);">
|
||||
|
||||
|
||||
@ -1,14 +1,9 @@
|
||||
<?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')) {
|
||||
echo '<script>'.PHP_EOL;
|
||||
echo 'alert("'.G5_VERSION.'의 정상적인 사용을 위해서는 GD 라이브러리가 필요합니다.\nGD 라이브러리가 없을 경우 자동등록방지 문자와 썸네일 기능이 작동하지 않습니다.");'.PHP_EOL;
|
||||
echo '</script>'.PHP_EOL;
|
||||
}
|
||||
|
||||
if(!extension_loaded('gd') || !function_exists('gd_info'))
|
||||
die('GD 라이브러리를 설치하신 후 '.G5_VERSION.' 설치를 진행해 주십시오.');
|
||||
?>
|
||||
Reference in New Issue
Block a user