summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2007-02-02 07:38:00 +0100
committerTom N Harris <tnharris@whoopdedo.org>2007-02-02 07:38:00 +0100
commit37f8b546818c04c27fb9602edc597177e77739d0 (patch)
tree30de94a015c815b2a92e73d31b20b7a583d6fea7
parent66b955446096380d27c59fb00f6d4208b42eb800 (diff)
downloadrpg-37f8b546818c04c27fb9602edc597177e77739d0.tar.gz
rpg-37f8b546818c04c27fb9602edc597177e77739d0.tar.bz2
Show file name in debug comment when creating new cache.
darcs-hash:20070202063800-6942e-529cee02f506a5c221e2da33fd0720380752c37f.gz
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
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";