diff options
author | Chris Smith <chris@jalakai.co.uk> | 2008-02-14 12:33:50 +0100 |
---|---|---|
committer | Chris Smith <chris@jalakai.co.uk> | 2008-02-14 12:33:50 +0100 |
commit | 35a562605f3f00c149a28fc42c85ab76f28b7497 (patch) | |
tree | f11da184c567564e7ba848207ef051825e762a17 /inc/parser/xhtml.php | |
parent | 0916045fd33fc8ac12da99d1c160f6f7fabaae0d (diff) | |
download | rpg-35a562605f3f00c149a28fc42c85ab76f28b7497.tar.gz rpg-35a562605f3f00c149a28fc42c85ab76f28b7497.tar.bz2 |
fix for earlier phpok & htmlok path
darcs-hash:20080214113350-d26fc-3b3e46d9d5423a84c4288a18c1b83f972ca6bfa8.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 5e322d839..70e595f82 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -305,6 +305,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @author Andreas Gohr <andi@splitbrain.org> */ function php($text) { + global $conf; + if($conf['phpok']){ ob_start(); eval($text); @@ -325,6 +327,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @author Andreas Gohr <andi@splitbrain.org> */ function html($text) { + global $conf; + if($conf['htmlok']){ $this->doc .= $text; } else { |