summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorChris Smith <chris@jalakai.co.uk>2008-02-14 12:33:50 +0100
committerChris Smith <chris@jalakai.co.uk>2008-02-14 12:33:50 +0100
commit35a562605f3f00c149a28fc42c85ab76f28b7497 (patch)
treef11da184c567564e7ba848207ef051825e762a17 /inc
parent0916045fd33fc8ac12da99d1c160f6f7fabaae0d (diff)
downloadrpg-35a562605f3f00c149a28fc42c85ab76f28b7497.tar.gz
rpg-35a562605f3f00c149a28fc42c85ab76f28b7497.tar.bz2
fix for earlier phpok & htmlok path
darcs-hash:20080214113350-d26fc-3b3e46d9d5423a84c4288a18c1b83f972ca6bfa8.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/parser/xhtml.php4
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 {