diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2006-02-07 22:34:25 +0100 |
---|---|---|
committer | Matthias Urlichs <smurf@smurf.noris.de> | 2006-02-07 22:34:25 +0100 |
commit | fdf3dcb9e3dd8624be067c54c11e981eae1129e5 (patch) | |
tree | cfcd62453df65f43d8857059a0d6eda68507c1aa | |
parent | c6a1c1bf7492e1cf2e3d485af066eb3903536d80 (diff) | |
download | rpg-fdf3dcb9e3dd8624be067c54c11e981eae1129e5.tar.gz rpg-fdf3dcb9e3dd8624be067c54c11e981eae1129e5.tar.bz2 |
simple performance patch for html_wikilink()
darcs-hash:20060207213425-5ac8f-17fb87ac0d23138440fa2278e5266771ff96aac7.gz
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 867078ddd..6f99947f9 100644 --- a/inc/html.php +++ b/inc/html.php @@ -16,9 +16,9 @@ * @author Andreas Gohr <andi@splitbrain.org> */ function html_wikilink($id,$name=NULL,$search=''){ - require_once(DOKU_INC.'inc/parser/xhtml.php'); static $xhtml_renderer = NULL; if(is_null($xhtml_renderer)){ + require_once(DOKU_INC.'inc/parser/xhtml.php'); $xhtml_renderer = new Doku_Renderer_xhtml(); } |