? patch ? core/.new.custom_fi Index: core.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core.php,v retrieving revision 1.32 diff -u -r1.32 core.php --- core.php 5 Feb 2004 01:17:13 -0000 1.32 +++ core.php 7 May 2004 11:44:33 -0000 @@ -86,11 +86,14 @@ # OPENED ANYWHERE ELSE. require_once( $t_core_path.'database_api.php' ); - # Headers to prevent caching - header( 'Pragma: no-cache' ); - header( 'Expires: Fri, 01 Jan 1999 00:00:00 GMT' ); - header( 'Cache-Control: no-store, no-cache, must-revalidate' ); - header( 'Cache-Control: post-check=0, pre-check=0', false ); + if (!isset($suppress_cache_headers)) + { + # Headers to prevent caching + header( 'Pragma: no-cache' ); + header( 'Expires: Fri, 01 Jan 1999 00:00:00 GMT' ); + header( 'Cache-Control: no-store, no-cache, must-revalidate' ); + header( 'Cache-Control: post-check=0, pre-check=0', false ); + } # SEND USER-DEFINED HEADERS foreach( config_get( 'custom_headers' ) as $t_header ) { Index: file_download.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/file_download.php,v retrieving revision 1.27 diff -u -r1.27 file_download.php --- file_download.php 18 Mar 2004 14:02:28 -0000 1.27 +++ file_download.php 7 May 2004 11:44:33 -0000 @@ -13,6 +13,7 @@ # Add file and redirect to the referring page ?>