php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
$bn_id = (int) $bn_id;
|
||||
$bn_id = isset($_GET['bn_id']) ? (int) $_GET['bn_id'] : 0;
|
||||
|
||||
$sql = " select bn_id, bn_url from {$g5['g5_shop_banner_table']} where bn_id = '$bn_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
@ -20,5 +20,4 @@ if ($_COOKIE['ck_bn_id'] != $bn_id)
|
||||
|
||||
$url = clean_xss_tags($row['bn_url']);
|
||||
|
||||
goto_url($url);
|
||||
?>
|
||||
goto_url($url);
|
||||
Reference in New Issue
Block a user