Skip to content
Snippets Groups Projects
Commit 881f2ee2 authored by Andreas Haerter's avatar Andreas Haerter Committed by Andreas Gohr
Browse files

updated doc for tpl_indexerWebBug()

parent ff9f5375
No related branches found
No related tags found
No related merge requests found
...@@ -972,8 +972,7 @@ function _tpl_img_action($data, $param=NULL) { ...@@ -972,8 +972,7 @@ function _tpl_img_action($data, $param=NULL) {
} }
/** /**
* This function inserts a 1x1 pixel gif which in reality * This function inserts a small gif which in reality is the indexer function.
* is the indexer function.
* *
* Should be called somewhere at the very end of the main.php * Should be called somewhere at the very end of the main.php
* template * template
...@@ -986,7 +985,7 @@ function tpl_indexerWebBug(){ ...@@ -986,7 +985,7 @@ function tpl_indexerWebBug(){
$p = array(); $p = array();
$p['src'] = DOKU_BASE.'lib/exe/indexer.php?id='.rawurlencode($ID). $p['src'] = DOKU_BASE.'lib/exe/indexer.php?id='.rawurlencode($ID).
'&'.time(); '&'.time();
$p['width'] = 2; $p['width'] = 2; //no more 1x1 px image because we live in times of ad blockers...
$p['height'] = 1; $p['height'] = 1;
$p['alt'] = ''; $p['alt'] = '';
$att = buildAttributes($p); $att = buildAttributes($p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment