|
From: Paul S. O. <ps...@us...> - 2002-04-01 13:28:41
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv13719/includes
Modified Files:
page_header.php
Log Message:
Latest header attempt
Index: page_header.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/page_header.php,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -r1.105 -r1.106
*** page_header.php 31 Mar 2002 00:06:34 -0000 1.105
--- page_header.php 1 Apr 2002 13:23:42 -0000 1.106
***************
*** 265,269 ****
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
! if ( !($status = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
--- 265,269 ----
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
! if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
***************
*** 449,457 ****
}
! if ( getenv('REQUEST_METHOD') != 'POST' )
! {
! header ('Cache-Control: private, no-cache, must-revalidate, pre-check=2, post-check=2, max-age=25');
! header ('Pragma: no-cache');
! }
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
--- 449,453 ----
}
! header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|