From b85a7959164ceb20786cf4381712d3261ef91405 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Apr 2014 09:16:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=ED=92=88=EC=A1=B0=ED=9A=8C=EC=88=98?= =?UTF-8?q?=20=EA=B4=80=EB=A0=A8=20=EC=BF=A0=ED=82=A4=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=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 7ed5b2b78..f905d1d77 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -54,7 +54,7 @@ if (!$saved) { // 오늘 본 상품 저장 끝 // 조회수 증가 -if ($_COOKIE['ck_it_id'] != $it_id) { +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시간동안 저장 } diff --git a/shop/item.php b/shop/item.php index 266b66e0f..137b8648f 100644 --- a/shop/item.php +++ b/shop/item.php @@ -52,7 +52,7 @@ if (!$saved) { // 오늘 본 상품 저장 끝 // 조회수 증가 -if ($_COOKIE['ck_it_id'] != $it_id) { +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시간동안 저장 }