summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-05-30 20:21:57 +0200
committerandi <andi@splitbrain.org>2005-05-30 20:21:57 +0200
commitbad0b54555f7c529c42bbeba1a17b374af1d9305 (patch)
tree22aa0787f77924ca5a61088b2995377e0daeb584 /inc/parser/xhtml.php
parent156a608c0ca9fae2f48bf7322133edefaf93633f (diff)
downloadrpg-bad0b54555f7c529c42bbeba1a17b374af1d9305.tar.gz
rpg-bad0b54555f7c529c42bbeba1a17b374af1d9305.tar.bz2
fix for PHP includes #350
darcs-hash:20050530182157-9977f-981812ef30c46ca8baed1988418ac4be9f213f11.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 1520d6624..da5c70459 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -289,10 +289,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
function php($text) {
global $conf;
if($conf['phpok']){
- ob_start;
+ ob_start();
eval($text);
$this->doc .= ob_get_contents();
- ob_end_clean;
+ ob_end_clean();
}else{
$this->file($text);
}