diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index f7b64d8c0d8428811296310738185a8c7c03f576..127b92ce55ff5ee2256b7d04fafad89b90e62dd2 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -266,5 +266,14 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode { return $conf; } + /** + * Allow the plugin to prevent DokuWiki from reusing an instance + * + * @return bool false if the plugin has to be instantiated + */ + function isSingleton() { + return true; + } + } //Setup VIM: ex: et ts=4 enc=utf-8 :