PHP8 에서 경고문이 나올수 있는 코드 수정

This commit is contained in:
thisgun
2021-01-25 14:14:41 +09:00
parent 682f6620cb
commit 359b20606e
3 changed files with 5 additions and 4 deletions

View File

@ -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']) : '';
// 코드