php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -6,7 +6,7 @@ include_once(G5_LIB_PATH.'/json.lib.php');
$data = array();
$data['error'] = '';
$data['error'] = auth_check($auth[$sub_menu], 'w', true);
$data['error'] = auth_check_menu($auth, $sub_menu, 'w', true);
if($data['error'])
die(json_encode($data));
@ -182,5 +182,4 @@ if($type == 'board') {
$data['error'] = '적용할 테마 설정이 없습니다.';
}
die(json_encode($data));
?>
die(json_encode($data));