version.php 분리로 인해 ['path']가 선언되지 않아 설치가 되지 않던 오류 수정

This commit is contained in:
kagla
2021-08-19 11:27:41 +09:00
parent 5d31a5505d
commit ae515803f6
4 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
$g5_path['path'] = '..';
include_once ('../config.php'); include_once ('../config.php');
include_once('../lib/json.lib.php'); include_once('../lib/json.lib.php');
include_once('../lib/common.lib.php'); // 공통 라이브러리 include_once('../lib/common.lib.php'); // 공통 라이브러리
@ -56,4 +57,4 @@ if(sql_query("DESCRIBE `{$table_prefix}config`", G5_DISPLAY_SQL_ERROR, $dblink))
die(install_json_msg('주의! 이미 테이블이 존재하므로, 기존 DB 자료가 망실됩니다. 계속 진행하겠습니까?', 'exists')); die(install_json_msg('주의! 이미 테이블이 존재하므로, 기존 DB 자료가 망실됩니다. 계속 진행하겠습니까?', 'exists'));
} }
die(install_json_msg('ok', 'success')); die(install_json_msg('ok', 'success'));

View File

@ -1,6 +1,7 @@
<?php <?php
@header('Content-Type: text/html; charset=utf-8'); @header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex'); @header('X-Robots-Tag: noindex');
$g5_path['path'] = '..';
include_once ('../config.php'); include_once ('../config.php');
$title = G5_VERSION." 라이센스 확인 1/3"; $title = G5_VERSION." 라이센스 확인 1/3";
include_once ('./install.inc.php'); include_once ('./install.inc.php');
@ -50,4 +51,4 @@ function frm_submit(f)
?> ?>
<?php <?php
include_once ('./install.inc2.php'); include_once ('./install.inc2.php');

View File

@ -8,6 +8,7 @@ header('Pragma: no-cache'); // HTTP/1.0
@header('Content-Type: text/html; charset=utf-8'); @header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex'); @header('X-Robots-Tag: noindex');
$g5_path['path'] = '..';
include_once ('../config.php'); include_once ('../config.php');
$title = G5_VERSION." 초기환경설정 2/3"; $title = G5_VERSION." 초기환경설정 2/3";
include_once ('./install.inc.php'); include_once ('./install.inc.php');
@ -221,4 +222,4 @@ function frm_install_submit(f)
</script> </script>
<?php <?php
include_once ('./install.inc2.php'); include_once ('./install.inc2.php');

View File

@ -9,6 +9,7 @@ header('Pragma: no-cache'); // HTTP/1.0
@header('Content-Type: text/html; charset=utf-8'); @header('Content-Type: text/html; charset=utf-8');
@header('X-Robots-Tag: noindex'); @header('X-Robots-Tag: noindex');
$g5_path['path'] = '..';
include_once ('../config.php'); include_once ('../config.php');
include_once ('../lib/common.lib.php'); include_once ('../lib/common.lib.php');
include_once('./install.function.php'); // 인스톨 과정 함수 모음 include_once('./install.function.php'); // 인스톨 과정 함수 모음
@ -674,4 +675,4 @@ if($g5_shop_install) {
</div> </div>
<?php <?php
include_once ('./install.inc2.php'); include_once ('./install.inc2.php');