diff --git a/install/install.inc.php b/install/install.inc.php index 90165216f..13977884d 100644 --- a/install/install.inc.php +++ b/install/install.inc.php @@ -18,13 +18,13 @@ if (!$title) $title = G5_VERSION." 설치"; INSTALLATION -
- +프로그램이 이미 설치되어 있습니다.
새로 설치하시려면 다음 파일을 삭제 하신 후 새로고침 하십시오.
루트 디렉토리에 아래로 디렉토리를 생성하여 주십시오.
@@ -60,8 +62,8 @@ if (!is_dir($data_path))
$write_data_dir = true;
// data 디렉토리에 파일 생성 가능한지 검사.
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
- $sapi_type = php_sapi_name();
- if (substr($sapi_type, 0, 3) == 'cgi') {
+ $sapi_type = php_sapi_name();
+ if (substr($sapi_type, 0, 3) == 'cgi') {
if (!(is_readable($data_path) && is_executable($data_path)))
{
?>
diff --git a/install/install_config.php b/install/install_config.php
index 7ff4b3678..bb9f66d5d 100644
--- a/install/install_config.php
+++ b/install/install_config.php
@@ -10,7 +10,7 @@ include_once ('../config.php');
$title = G5_VERSION." 초기환경설정 2/3";
include_once ('./install.inc.php');
-if (isset($_POST['agree']) && $_POST['agree'] != '동의함') {
+if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
echo "