dbconfig 파일 생성 코드 수정
This commit is contained in:
@ -470,10 +470,9 @@ fwrite($f, "\$g5['autosave_table'] = G5_TABLE_PREFIX.'autosave'; // 게시글
|
||||
fwrite($f, "\$g5['cert_history_table'] = G5_TABLE_PREFIX.'cert_history'; // 인증내역 테이블\n");
|
||||
fwrite($f, "\$g5['qa_config_table'] = G5_TABLE_PREFIX.'qa_config'; // 1:1문의 설정테이블\n");
|
||||
fwrite($f, "\$g5['qa_content_table'] = G5_TABLE_PREFIX.'qa_content'; // 1:1문의 테이블\n");
|
||||
fwrite($f, "?>");
|
||||
|
||||
if($g5_shop_install) {
|
||||
fwrite($f, "\n<?php\n");
|
||||
fwrite($f, "\n\n");
|
||||
fwrite($f, "define('G5_USE_SHOP', true);\n\n");
|
||||
fwrite($f, "define('G5_SHOP_TABLE_PREFIX', '{$g5_shop_prefix}');\n\n");
|
||||
fwrite($f, "\$g5['g5_shop_default_table'] = G5_SHOP_TABLE_PREFIX.'default'; // 쇼핑몰설정 테이블\n");
|
||||
@ -499,9 +498,10 @@ if($g5_shop_install) {
|
||||
fwrite($f, "\$g5['g5_shop_sendcost_table'] = G5_SHOP_TABLE_PREFIX.'sendcost'; // 추가배송비 테이블\n");
|
||||
fwrite($f, "\$g5['g5_shop_personalpay_table'] = G5_SHOP_TABLE_PREFIX.'personalpay'; // 개인결제 정보 테이블\n");
|
||||
fwrite($f, "\$g5['g5_shop_order_address_table'] = G5_SHOP_TABLE_PREFIX.'order_address'; // 배송지이력 정보 테이블\n");
|
||||
fwrite($f, "?>");
|
||||
}
|
||||
|
||||
fwrite($f, "?>");
|
||||
|
||||
fclose($f);
|
||||
@chmod($file, G5_FILE_PERMISSION);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user