Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2010-12-22 21:16:33 +0300
committerrobocoder <anthon.pang@gmail.com>2010-12-22 21:16:33 +0300
commit209f8e9e2caec50ca66f4f13e23b9b213c73e34e (patch)
tree6e5500b070ae81ab1b02d726343976deab02095b /core/Cookie.php
parentc06b5c99a1e32cf281c8a3d25745e6f3156e0d83 (diff)
refs #1279, refs #1910 - language preference for anonymous users is now stored in a cookie; we can't use this workaround for the dashboard layout because of cookie size limits
git-svn-id: http://dev.piwik.org/svn/trunk@3514 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Cookie.php')
-rw-r--r--core/Cookie.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Cookie.php b/core/Cookie.php
index 4b27163e8b..6c5d65c044 100644
--- a/core/Cookie.php
+++ b/core/Cookie.php
@@ -70,9 +70,9 @@ class Piwik_Cookie
* Instantiate a new Cookie object and tries to load the cookie content if the cookie
* exists already.
*
- * @param string cookie Name
- * @param int The timestamp after which the cookie will expire, eg time() + 86400
- * @param string The path on the server in which the cookie will be available on.
+ * @param string $cookieName cookie Name
+ * @param int $expire The timestamp after which the cookie will expire, eg time() + 86400; use 0 (int zero) to expire cookie at end of browser session
+ * @param string $path The path on the server in which the cookie will be available on.
* @param string $keyStore Will be used to store several bits of data (eg. one array per website)
*/
public function __construct( $cookieName, $expire = null, $path = null, $keyStore = false)