PHP8 버전에서 경고문 뜨는 코드 추가 수정

This commit is contained in:
thisgun
2021-01-09 16:10:42 +09:00
parent 8e679ee4da
commit bc0be66aad
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
include_once('./_common.php');
$call = isset($_REQUEST['call']) ? strtolower(preg_replace('/[^a-z0-9_]/i', '', $_REQUEST['call'])) : '';
$token = isset($_REQUEST['token']) ? clean_xss_tags($_REQUEST['token'], 1, 1) : '';
if( ! $call ){
return;