[dokuwiki] Re: How to get plugin(!) settings from within the struct plugin
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: DokuWiki Mailinglist <dokuwiki@xxxxxxxxxxxxx>
- Date: Wed, 19 Jul 2017 18:03:01 +0200
disclaimer: I would not recommend rummaging in plugin files you do not
understand, especially for mechanisms related to ACLs.
I call $this->getConf('ignorepermissions') in meta/Search.php
That class does not inherit from Doku_Plugin. You need an object that
does. You could load one with plugin_load(). Eg. $helper =
plugin_load('helper', 'struct_db');
Andi
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist
Other related posts: