Lines Matching defs:conf
15 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf()
133 global $conf;
135 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
137 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
153 global $conf, $config_cascade; // definitely don't invoke "global $lang"
166 if ($conf['lang'] != 'en') {
167 @include($path . $conf['lang'] . '/lang.php');
169 if (file_exists($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php')) {
170 include($config_file . $this->getPluginName() . '/' . $conf['lang'] . '/lang.php');
192 if (isset($this->conf[$setting])) {
193 return $this->conf[$setting];
204 global $conf;
210 if (isset($conf['plugin'][$plugin][$key])) continue;
211 $conf['plugin'][$plugin][$key] = $value;
215 $this->conf =& $conf['plugin'][$plugin];
219 * read the plugin's default configuration settings from conf/default.php
227 $path = DOKU_PLUGIN . $this->getPluginName() . '/conf/';
228 $conf = [];
234 return $conf;
257 global $conf;
261 if (!$target) $target = $conf['target']['extern'];
262 if ($conf['relnofollow']) $more .= ' rel="nofollow"';