summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php24
1 files changed, 4 insertions, 20 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 740ccea04..ad2bb6056 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -268,11 +268,7 @@ class Doku_Handler {
function php($match, $state, $pos) {
global $conf;
if ( $state == DOKU_LEXER_UNMATCHED ) {
- if ($conf['phpok']) {
- $this->_addCall('php',array($match), $pos);
- } else {
- $this->_addCall('file',array($match), $pos);
- }
+ $this->_addCall('php',array($match), $pos);
}
return true;
}
@@ -280,11 +276,7 @@ class Doku_Handler {
function phpblock($match, $state, $pos) {
global $conf;
if ( $state == DOKU_LEXER_UNMATCHED ) {
- if ($conf['phpok']) {
- $this->_addCall('phpblock',array($match), $pos);
- } else {
- $this->_addCall('file',array($match), $pos);
- }
+ $this->_addCall('phpblock',array($match), $pos);
}
return true;
}
@@ -292,11 +284,7 @@ class Doku_Handler {
function html($match, $state, $pos) {
global $conf;
if ( $state == DOKU_LEXER_UNMATCHED ) {
- if($conf['htmlok']){
- $this->_addCall('html',array($match), $pos);
- } else {
- $this->_addCall('file',array($match), $pos);
- }
+ $this->_addCall('html',array($match), $pos);
}
return true;
}
@@ -304,11 +292,7 @@ class Doku_Handler {
function htmlblock($match, $state, $pos) {
global $conf;
if ( $state == DOKU_LEXER_UNMATCHED ) {
- if($conf['htmlok']){
- $this->_addCall('htmlblock',array($match), $pos);
- } else {
- $this->_addCall('file',array($match), $pos);
- }
+ $this->_addCall('htmlblock',array($match), $pos);
}
return true;
}