diff options
author | andi <andi@splitbrain.org> | 2005-05-01 21:39:08 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-05-01 21:39:08 +0200 |
commit | 9dc2c2af726890564ad8e83ab451fe55af98deef (patch) | |
tree | 48fb87513d96d21a6e4e3c222205a614632acf30 /inc/parser/handler.php | |
parent | 5e100747059d6148199a91dfae13217e89dd4344 (diff) | |
download | rpg-9dc2c2af726890564ad8e83ab451fe55af98deef.tar.gz rpg-9dc2c2af726890564ad8e83ab451fe55af98deef.tar.bz2 |
~~NOCACHE~~ added
darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r-- | inc/parser/handler.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index 91d884345..ce0fb5d4c 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -12,6 +12,7 @@ class Doku_Handler { var $meta = array( 'section' => FALSE, 'toc' => TRUE, + 'cache' => TRUE, ); var $rewriteBlocks = TRUE; @@ -97,6 +98,11 @@ class Doku_Handler { $this->meta['toc'] = FALSE; return TRUE; } + + function nocache($match, $state, $pos) { + $this->_addCall('nocache',array(),$pos); + return TRUE; + } function linebreak($match, $state, $pos) { $this->_addCall('linebreak',array(),$pos); |