From 3e4fbe7f12e24a9040503daf82b78c538550cacb Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 12 Apr 2013 08:51:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=A0=EB=94=94=EC=BC=80=EC=9D=B4=EC=85=98?= =?UTF-8?q?=20=EA=B2=BD=EB=A1=9C=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_delete.inc.php | 2 +- adm/board_form_update.php | 2 +- adm/boardgroup_form_update.php | 2 +- bbs/delete.php | 2 +- bbs/delete_all.php | 2 +- bbs/move_update.php | 2 +- bbs/write_update.php | 2 +- config.php | 3 +++ plugin/syndi/config/site.config.php | 2 +- 9 files changed, 11 insertions(+), 8 deletions(-) diff --git a/adm/board_delete.inc.php b/adm/board_delete.inc.php index d1803212b..73fa65761 100644 --- a/adm/board_delete.inc.php +++ b/adm/board_delete.inc.php @@ -32,5 +32,5 @@ delete_cache_latest($tmp_bo_table); rm_rf(G4_DATA_PATH.'/file/'.$tmp_bo_table); // syndication ping -include G4_BBS_PATH.'/syndi/include/include.adm.board_delete.inc.php'; +include G4_SYNDI_PATH.'/include/include.adm.board_delete.inc.php'; ?> \ No newline at end of file diff --git a/adm/board_form_update.php b/adm/board_form_update.php index 9fdfd4518..bed99cf9c 100644 --- a/adm/board_form_update.php +++ b/adm/board_form_update.php @@ -391,7 +391,7 @@ if ($all_fields) { delete_cache_latest($bo_table); // syndication ping -include G4_BBS_PATH.'/syndi/include/include.adm.board_form_update.php'; +include G4_SYNDI_PATH.'/include/include.adm.board_form_update.php'; goto_url("./board_form.php?w=u&bo_table={$bo_table}&{$qstr}"); ?> diff --git a/adm/boardgroup_form_update.php b/adm/boardgroup_form_update.php index 8a96cd71f..cd143ed5b 100644 --- a/adm/boardgroup_form_update.php +++ b/adm/boardgroup_form_update.php @@ -67,7 +67,7 @@ if ($w == '') { } // syndication ping -include G4_BBS_PATH.'/syndi/include/include.adm.boardgroup_form_update.php'; +include G4_SYNDI_PATH.'/include/include.adm.boardgroup_form_update.php'; goto_url('./boardgroup_form.php?w=u&gr_id='.$gr_id.'&'.$qstr); ?> diff --git a/bbs/delete.php b/bbs/delete.php index 2a30b2306..4055e58bb 100644 --- a/bbs/delete.php +++ b/bbs/delete.php @@ -94,7 +94,7 @@ while ($row = sql_fetch_array($result)) sql_query(" delete from {$g4['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$row['wr_id']}' "); // syndication ping - include G4_BBS_PATH.'/syndi/include/include.bbs.delete.php'; + include G4_SYNDI_PATH.'/include/include.bbs.delete.php'; $count_write++; } diff --git a/bbs/delete_all.php b/bbs/delete_all.php index 6e4467a70..4e14ecfe7 100644 --- a/bbs/delete_all.php +++ b/bbs/delete_all.php @@ -107,7 +107,7 @@ for ($i=count($tmp_array)-1; $i>=0; $i--) sql_query(" delete from {$g4['board_file_table']} where bo_table = '$bo_table' and wr_id = '{$row['wr_id']}' "); // syndication ping - include G4_BBS_PATH.'/syndi/include/include.bbs.delete_all.php'; + include G4_SYNDI_PATH.'/include/include.bbs.delete_all.php'; $count_write++; } diff --git a/bbs/move_update.php b/bbs/move_update.php index e58020d48..94e1b7989 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -176,7 +176,7 @@ if ($sw == 'move') } // syndication ping -include G4_BBS_PATH.'/syndi/include/include.bbs.move_update.php'; +include G4_SYNDI_PATH.'/include/include.bbs.move_update.php'; $msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.'; $opener_href = './board.php?bo_table='.$bo_table.'&page='.$page.'&'.$qstr; diff --git a/bbs/write_update.php b/bbs/write_update.php index 16ebb0cd8..91b5792dc 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -462,7 +462,7 @@ if ($w == '' || $w == 'r') { } // syndication ping -include G4_BBS_PATH.'/syndi/include/include.bbs.write_update.php'; +include G4_SYNDI_PATH.'/include/include.bbs.write_update.php'; //------------------------------------------------------------------------------ // 가변 파일 업로드 diff --git a/config.php b/config.php index 417a966fd..d5a93eae9 100644 --- a/config.php +++ b/config.php @@ -48,6 +48,7 @@ define('G4_CKEDITOR_DIR', 'ckeditor'); define('G4_MOBILE_DIR', 'mobile'); define('G4_KCP_DIR', 'kcp'); define('G4_OKNAME_DIR', 'okname'); +define('G4_SYNDI_DIR', 'syndi'); // URL 은 브라우저상에서의 경로 (도메인으로 부터의) if (G4_DOMAIN) { @@ -77,6 +78,7 @@ define('G4_GCAPTCHA_URL', G4_PLUGIN_URL.'/'.G4_GCAPTCHA_DIR); define('G4_CKEDITOR_URL', G4_PLUGIN_URL.'/'.G4_CKEDITOR_DIR); // CKEDITOR 의 라이브러리 경로 define('G4_KCP_URL', G4_PLUGIN_URL.'/'.G4_KCP_DIR); define('G4_OKNAME_URL', G4_PLUGIN_URL.'/'.G4_OKNAME_DIR); +define('G4_SYNDI_URL', G4_PLUGIN_URL.'/'.G4_SYNDI_DIR); define('G4_MOBILE_URL', G4_URL.'/'.G4_MOBILE_DIR); // PATH 는 서버상에서의 절대경로 @@ -91,6 +93,7 @@ define('G4_GCAPTCHA_PATH', G4_PLUGIN_PATH.'/'.G4_GCAPTCHA_DIR); define('G4_CKEDITOR_PATH', G4_PLUGIN_PATH.'/'.G4_CKEDITOR_DIR); define('G4_KCP_PATH', G4_PLUGIN_PATH.'/'.G4_KCP_DIR); define('G4_OKNAME_PATH', G4_PLUGIN_PATH.'/'.G4_OKNAME_DIR); +define('G4_SYNDI_PATH', G4_PLUGIN_PATH.'/'.G4_SYNDI_DIR); define('G4_MOBILE_PATH', G4_PATH.'/'.G4_MOBILE_DIR); //============================================================================== diff --git a/plugin/syndi/config/site.config.php b/plugin/syndi/config/site.config.php index f0af1ab7c..632eb4fb4 100644 --- a/plugin/syndi/config/site.config.php +++ b/plugin/syndi/config/site.config.php @@ -15,5 +15,5 @@ $GLOBALS['syndi_tag_year'] = '2010'; $GLOBALS['syndi_homepage_title'] = $config['cf_title']; // Syndication 출력 url (syndi_echo.php의 웹경로) -$GLOBALS['syndi_echo_url'] = G4_BBS_URL.'/syndi/syndi_echo.php'; +$GLOBALS['syndi_echo_url'] = G4_SYNDI_URL.'/syndi_echo.php'; ?>