From 9dc2c2af726890564ad8e83ab451fe55af98deef Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 1 May 2005 21:39:08 +0200 Subject: ~~NOCACHE~~ added darcs-hash:20050501193908-9977f-e65b9b9bd123efaccc167f2e1ad9a1d4f51ba681.gz --- inc/parser/handler.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'inc/parser/handler.php') 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); -- cgit v1.2.3