]> git.mxchange.org Git - shipsimu.git/commitdiff
Expiration is not a timestamp!
authorRoland Häder <roland@mxchange.org>
Sat, 14 Jun 2008 19:24:34 +0000 (19:24 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 14 Jun 2008 19:24:34 +0000 (19:24 +0000)
inc/classes/main/response/class_HttpResponse.php

index bc7693335eb858e09321834c7a58b9a06604a183..9a9273350485635d6c9d97f07e379983492eaa49 100644 (file)
@@ -247,7 +247,7 @@ class HttpResponse extends BaseFrameworkSystem implements Responseable {
                setcookie(
                        $cookieName,
                        $cookieValue,
-                       $this->getConfigInstance()->readConfig('cookie_expire'),
+                       (time() + $this->getConfigInstance()->readConfig('cookie_expire')),
                        $this->getConfigInstance()->readConfig('cookie_path'),
                        $this->getConfigInstance()->readConfig('cookie_domain'),
                        $this->getConfigInstance()->readConfig('cookie_ssl')