[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail:[13946]
From: pdontthink () users ! sourceforge ! net
Date: 2010-06-21 0:43:54
Message-ID: E1OQV7C-00011N-BW () sfp-svn-1 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 13946
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13946&view=rev
Author: pdontthink
Date: 2010-06-21 00:43:54 +0000 (Mon, 21 Jun 2010)
Log Message:
-----------
Reduce use of date function calls when a constant will suffice
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/src/left_main.php
branches/SM-1_4-STABLE/squirrelmail/src/login.php
branches/SM-1_4-STABLE/squirrelmail/src/mailto.php
branches/SM-1_4-STABLE/squirrelmail/src/redirect.php
branches/SM-1_4-STABLE/squirrelmail/src/right_main.php
Modified: branches/SM-1_4-STABLE/squirrelmail/src/left_main.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/left_main.php 2010-06-21 00:39:12 UTC \
(rev 13945)
+++ branches/SM-1_4-STABLE/squirrelmail/src/left_main.php 2010-06-21 00:43:54 UTC \
(rev 13946) @@ -305,7 +305,7 @@
// Disable browser caching //
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
// open a connection on the imap port (143)
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10); \
// the 10 is to hide the output
Modified: branches/SM-1_4-STABLE/squirrelmail/src/login.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/login.php 2010-06-21 00:39:12 UTC (rev \
13945)
+++ branches/SM-1_4-STABLE/squirrelmail/src/login.php 2010-06-21 00:43:54 UTC (rev \
13946) @@ -114,7 +114,7 @@
//
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
do_hook('login_cookie');
Modified: branches/SM-1_4-STABLE/squirrelmail/src/mailto.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/mailto.php 2010-06-21 00:39:12 UTC (rev \
13945)
+++ branches/SM-1_4-STABLE/squirrelmail/src/mailto.php 2010-06-21 00:43:54 UTC (rev \
13946) @@ -72,7 +72,7 @@
//
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
$trtable = array('cc' => 'cc',
'bcc' => 'bcc',
Modified: branches/SM-1_4-STABLE/squirrelmail/src/redirect.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/redirect.php 2010-06-21 00:39:12 UTC (rev \
13945)
+++ branches/SM-1_4-STABLE/squirrelmail/src/redirect.php 2010-06-21 00:43:54 UTC (rev \
13946) @@ -34,7 +34,7 @@
//
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
$location = get_location();
sqsession_is_active();
Modified: branches/SM-1_4-STABLE/squirrelmail/src/right_main.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/right_main.php 2010-06-21 00:39:12 UTC \
(rev 13945)
+++ branches/SM-1_4-STABLE/squirrelmail/src/right_main.php 2010-06-21 00:43:54 UTC \
(rev 13946) @@ -48,7 +48,7 @@
// Disable Browser Caching //
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
-header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
/* lets get the global vars we may need */
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic