From a1ef1d05bac143e964920e9a9987e517c67f10d0 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 16 Jan 2006 21:51:03 +0000 Subject: [PATCH] netscape date specification is subtly different from rfc822 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10550 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/global.php b/functions/global.php index cd7050f9..617e4ef0 100644 --- a/functions/global.php +++ b/functions/global.php @@ -283,7 +283,7 @@ function sqsetcookie($sName,$sValue,$iExpire=false,$sPath="",$sDomain="",$bSecur if ($iExpire !== false) { $sHeader .= "; Max-Age=$iExpire"; // php uses Expire header, also add the expire header - $sHeader .= "; expires=". gmdate("r",$iExpire); + $sHeader .= "; expires=". gmdate('D, d-M-Y H:i:s T',$iExpire); } if ($sDomain) { $sHeader .= "; Domain=$sDomain"; -- 2.25.1