From 7580253511b3aff8fe9b1392f5b88332a2c060b9 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 13 Oct 2015 15:46:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=82=A4=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/item.php | 2 +- shop/item.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/shop/item.php b/mobile/shop/item.php index 3a2100383..2eedd90e6 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -56,7 +56,7 @@ if (!$saved) { // 조회수 증가 if (get_cookie('ck_it_id') != $it_id) { sql_query(" update {$g5['g5_shop_item_table']} set it_hit = it_hit + 1 where it_id = '$it_id' "); // 1증가 - set_cookie("ck_it_id", $it_id, time() + 3600); // 1시간동안 저장 + set_cookie("ck_it_id", $it_id, 3600); // 1시간동안 저장 } // 이전 상품보기 diff --git a/shop/item.php b/shop/item.php index 930d81ca9..19378d9db 100644 --- a/shop/item.php +++ b/shop/item.php @@ -54,7 +54,7 @@ if (!$saved) { // 조회수 증가 if (get_cookie('ck_it_id') != $it_id) { sql_query(" update {$g5['g5_shop_item_table']} set it_hit = it_hit + 1 where it_id = '$it_id' "); // 1증가 - set_cookie("ck_it_id", $it_id, time() + 3600); // 1시간동안 저장 + set_cookie("ck_it_id", $it_id, 3600); // 1시간동안 저장 } // 스킨경로