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

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

No files matched your search

+2 -3
View File
@@ -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);