[dokuwiki] Re: Syntax Filters: Passing-Through to the Next Handler?

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 17 Nov 2007 07:32:11 -0600

Myron Turner wrote:
B.J. Black wrote:
You may not be sending the php code back to the page.

        preg_match('/<php>(.*?)<\/php>/', $match,$matches);
       $match - '~~NOCACHE~~<PHP>' . $matches[1] . '</PHP>';
       return array( $state, $match);

Sorry about that--it should be
     $match =  ' ~~NOCACHE~~ <?php ' . $matches[1] .  ?>';

--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: