diff --git a/adm/auth_list_delete.php b/adm/auth_list_delete.php index 0327c1889..c378d75ec 100644 --- a/adm/auth_list_delete.php +++ b/adm/auth_list_delete.php @@ -28,6 +28,8 @@ for ($i=0; $i<$count; $i++) $sql = " delete from {$g5['auth_table']} where mb_id = '".$mb_id."' and au_menu = '".$au_menu."' "; sql_query($sql); + + run_event('adm_auth_delete_member', $mb_id, $au_menu); } goto_url('./auth_list.php?'.$qstr); diff --git a/adm/auth_update.php b/adm/auth_update.php index 1e2bc15a8..4b0a58fef 100644 --- a/adm/auth_update.php +++ b/adm/auth_update.php @@ -43,5 +43,7 @@ if( str_replace('-', '', G5_TIME_YMD) !== get_session('adm_auth_update') ){ set_session('adm_auth_update', str_replace('-', '', G5_TIME_YMD)); } +run_event('adm_auth_update', $mb); + goto_url('./auth_list.php?'.$qstr); ?> diff --git a/config.php b/config.php index 65b1ee7d3..b0f5cf7ed 100644 --- a/config.php +++ b/config.php @@ -5,8 +5,8 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.2.6'); -define('G5_YOUNGCART_VER', '5.4.2.6'); +define('G5_GNUBOARD_VER', '5.4.2.7'); +define('G5_YOUNGCART_VER', '5.4.2.7'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); diff --git a/lib/Hook/hook.extends.class.php b/lib/Hook/hook.extends.class.php index fd8b7cb82..47e9e4348 100644 --- a/lib/Hook/hook.extends.class.php +++ b/lib/Hook/hook.extends.class.php @@ -87,6 +87,9 @@ Class GML_Hook extends Hook { foreach ($filters as $priority) { foreach ($priority as $filter) { + if( isset($args[0]) ){ + $args[0] = $value; + } $replace = $that->runAction($filter, $args); if( ! is_null($replace) ) { diff --git a/lib/common.lib.php b/lib/common.lib.php index 9960c7f8d..4ea5b8ff7 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3165,6 +3165,8 @@ function member_delete($mb_id) // 프로필 이미지 삭제 @unlink(G5_DATA_PATH.'/member_image/'.substr($mb_id,0,2).'/'.$mb_id.'.gif'); + + run_event('member_delete_after', $mb_id); } // 이메일 주소 추출 diff --git a/plugin/kcaptcha/kcaptcha_mp3.php b/plugin/kcaptcha/kcaptcha_mp3.php index 0d87b5a8c..48b3744fe 100644 --- a/plugin/kcaptcha/kcaptcha_mp3.php +++ b/plugin/kcaptcha/kcaptcha_mp3.php @@ -37,7 +37,7 @@ function make_mp3() set_session("ss_captcha_save", $number); - return G5_URL.'/'.$mp3_file; + return G5_DATA_URL.'/'.$mp3_file; } echo make_mp3();