From 857670311b4c77ce1367d1c221c3c7ae604fbacc Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 16 Oct 2007 20:56:26 +0200 Subject: header support for renderer plugins Renderer plugins now can store HTTP header information in 'format ' which will be used to send their output. Also fixes a problem with loading cache files. darcs-hash:20071016185626-7ad00-c0e18a90b310daf0d3a3c01d7a73f3524ced803d.gz --- inc/parserutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parserutils.php') diff --git a/inc/parserutils.php b/inc/parserutils.php index 66cf71b2b..d24417898 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -147,7 +147,7 @@ function p_cached_output($file, $format='xhtml', $id='') { $cache = new cache_renderer($id, $file, $format); if ($cache->useCache()) { - $parsed = $cache->retrieveCache(); + $parsed = $cache->retrieveCache(false); if($conf['allowdebug'] && $format=='xhtml') $parsed .= "\n\n"; } else { $parsed = p_render($format, p_cached_instructions($file,false,$id), $info); -- cgit v1.2.3