경로 수정 작업 중
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
|
||||
if ($_COOKIE[ck_bn_id] != $bn_id)
|
||||
if ($_COOKIE['ck_bn_id'] != $bn_id)
|
||||
{
|
||||
$sql = " update $g4[yc4_banner_table] set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
|
||||
$sql = " update {$g4['yc4_banner_table']} set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
|
||||
sql_query($sql);
|
||||
// 하루 동안
|
||||
setcookie("ck_bn_id", $bn_id, 60*60*24, $default[de_cookie_dir], $default[de_cookie_domain]);
|
||||
// 하루 동안
|
||||
set_cookie("ck_bn_id", $bn_id, 60*60*24);
|
||||
}
|
||||
|
||||
goto_url($url);
|
||||
|
||||
Reference in New Issue
Block a user