From fce5a9fca115cb320cb686cff10abbf6dbbd236a Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 12 Nov 2010 02:08:30 +0000 Subject: [PATCH] - remove the cookiePath param. --- framework/router.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/router.class.php b/framework/router.class.php index baef5b8d46..ffec4fe12b 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -690,7 +690,7 @@ class router { $this->clientLang = $this->config->default->lang; } - setcookie('lang', $this->clientLang, $this->config->cookieLife, $this->config->cookiePath); + setcookie('lang', $this->clientLang, $this->config->cookieLife); } /** @@ -740,7 +740,7 @@ class router { $this->clientTheme = $this->config->default->theme; } - setcookie('theme', $this->clientTheme, $this->config->cookieLife, $this->config->cookiePath); + setcookie('theme', $this->clientTheme, $this->config->cookieLife); } /**