PHP8 에서 경고문이 나올수 있는 코드 수정
This commit is contained in:
@ -8,6 +8,7 @@ if ($is_admin != 'super')
|
||||
$g5['title'] = '메뉴 추가';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
$new = isset($_GET['new']) ? clean_xss_tags($_GET['new'], 1, 1) : '';
|
||||
$code = isset($_GET['code']) ? preg_replace('/[^0-9a-zA-Z]/', '', $_GET['code']) : '';
|
||||
|
||||
// 코드
|
||||
|
||||
Reference in New Issue
Block a user