버전 5.4.2.7 수정

This commit is contained in:
thisgun
2020-06-11 11:20:12 +09:00
6 changed files with 12 additions and 3 deletions

View File

@ -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);

View File

@ -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);
?>

View File

@ -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);

View File

@ -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) ) {

View File

@ -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);
}
// 이메일 주소 추출

View File

@ -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();