From 37f8b546818c04c27fb9602edc597177e77739d0 Mon Sep 17 00:00:00 2001 From: Tom N Harris <tnharris@whoopdedo.org> Date: Fri, 2 Feb 2007 07:38:00 +0100 Subject: [PATCH] Show file name in debug comment when creating new cache. darcs-hash:20070202063800-6942e-529cee02f506a5c221e2da33fd0720380752c37f.gz --- inc/parserutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/parserutils.php b/inc/parserutils.php index 57a0c68ca..7b041ece8 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -154,7 +154,7 @@ function p_cached_output($file, $format='xhtml', $id='') { if ($info['cache']) { $cache->storeCache($parsed); //save cachefile - if($conf['allowdebug']) $parsed .= "\n<!-- no cachefile used, but created -->\n"; + if($conf['allowdebug']) $parsed .= "\n<!-- no cachefile used, but created {$cache->cache} -->\n"; }else{ $cache->removeCache(); //try to delete cachefile if($conf['allowdebug']) $parsed .= "\n<!-- no cachefile used, caching forbidden -->\n"; -- GitLab