code review by fei.hong : fixes bugs to go boys
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -15,10 +15,10 @@ class IndexController extends WebAction | @@ -15,10 +15,10 @@ class IndexController extends WebAction | ||
15 | public function indexAction() | 15 | public function indexAction() |
16 | { | 16 | { |
17 | if (isset($_COOKIE['_Channel'])) { | 17 | if (isset($_COOKIE['_Channel'])) { |
18 | - unset($_COOKIE['_Channel']); | 18 | + $this->setCookie('_Channel', ''); |
19 | } | 19 | } |
20 | if (isset($_COOKIE['_Gender'])) { | 20 | if (isset($_COOKIE['_Gender'])) { |
21 | - unset($_COOKIE['_Gender']); | 21 | + $this->setCookie('_Gender', ''); |
22 | } | 22 | } |
23 | 23 | ||
24 | $this->go('http://www.yohobuy.com'); | 24 | $this->go('http://www.yohobuy.com'); |
-
Please register or login to post a comment