[dokuwiki] Re: DokuWiki Farms Idea

  • From: chi@xxxxxxxxxxx
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 22 Jun 2008 15:50:04 +0200

Andreas Gohr writes:

My idea was to add a new event DOKU_INIT. This would allow to create an
action
plugin which interferes with DWs init process where all the constants are
defined.

I'm not 100% I understood you correctly, but this is a bit of a
chicken-egg problem. DokuWiki needs to know where to look for plugins
to load them. It will need the constants your plugin wants to define
to find the plugin to define the constants to...

Ok, I got it working as I thought :), it seems to work well and without
problems, though I guess it needs a little bit of further testing to be really
sure. Further informations about this "proof of concept" cand be found at:

        http://wiki.splitbrain.org/wiki:farm2

Cheers,
        Chi

Other related posts: