register_hook('CONFMANAGER_CONFIGFILES_REGISTER', 'BEFORE', $this, 'addConfigFile', array()); } public function addConfigFile(Doku_Event $event, $params) { if (class_exists('ConfigManagerTwoLine')) { $config = new ConfigManagerTwoLine('UncMap', file_get_contents($this->localFN('confmanager_description')), DOKU_PLUGIN . 'uncmap/conf/mapping.php'); $event->data[] = $config; } } }