[Phpbb-php5mod-cvs-checkins] phpbb-php5/includes page_header.php,1.3,1.4 sessions.php,1.5,1.6
Brought to you by:
jelly_doughnut
From: Josh <jel...@us...> - 2005-04-16 21:07:13
|
Update of /cvsroot/phpbb-php5mod/phpbb-php5/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24299/includes Modified Files: page_header.php sessions.php Log Message: Erm, oops. Index: page_header.php =================================================================== RCS file: /cvsroot/phpbb-php5mod/phpbb-php5/includes/page_header.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** page_header.php 16 Apr 2005 21:02:23 -0000 1.3 --- page_header.php 16 Apr 2005 21:07:04 -0000 1.4 *************** *** 467,471 **** // Work around for "current" Apache 2 + PHP module which seems to not // cope with private cache control setting ! if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) ) { header ('Cache-Control: no-cache, pre-check=0, post-check=0'); --- 467,471 ---- // Work around for "current" Apache 2 + PHP module which seems to not // cope with private cache control setting ! if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) { header ('Cache-Control: no-cache, pre-check=0, post-check=0'); Index: sessions.php =================================================================== RCS file: /cvsroot/phpbb-php5mod/phpbb-php5/includes/sessions.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sessions.php 16 Apr 2005 21:02:23 -0000 1.5 --- sessions.php 16 Apr 2005 21:07:04 -0000 1.6 *************** *** 241,245 **** } ! $thispage_id = (int) $thispage_id // // Does a session exist? --- 241,245 ---- } ! $thispage_id = (int) $thispage_id; // // Does a session exist? |