[dokuwiki] custom php file reference plugins, problem with constants not initialised.

  • From: James Lin <guanfenglin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 17 Mar 2009 11:02:08 +1300

Hi guys,
I am writing a php file which would like to use the acl plugin, however, the
context of my php file doesn't have DOKU_INC constant defined, therefore it
dies when loading the acl plugin.
if (!defined('DOKU_INC')) die();

just wondering which file/class to call so I can get the DOKU_INC and other
constants initialised?



Other related posts: