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

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?

Cheers

James

Other related posts: