From 1dad36f5f0020323fc1fb83f29d3af2b56dbec25 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 23 Aug 2005 20:34:26 +0200 Subject: don't display indexer webbug for nonexisting pages darcs-hash:20050823183426-7ad00-0cadf9dfa87fcae1dc6c40b7f56c4f08b9406945.gz --- inc/template.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/template.php b/inc/template.php index be1ffd6d4..8c0e02367 100644 --- a/inc/template.php +++ b/inc/template.php @@ -876,6 +876,9 @@ function tpl_img($maxwidth=900,$maxheight=700){ */ function tpl_indexerWebBug(){ global $ID; + global $INFO; + if(!$INFO['exists']) return; + $p = array(); $p['src'] = DOKU_BASE.'lib/exe/indexer.php?id='.urlencode($ID). '&'.time(); -- cgit v1.2.3