Lines Matching refs:file
43 $file = DOKU_PLUGIN . '/' . $ext . '/plugin.info.txt';
44 if (file_exists($file)) {
45 $raw = confToHash($file);
50 if (empty($raw[$line])) Logger::error(sprintf($msg, $ext, $line, $file));
56 Logger::error(sprintf('Extension %s does not provide a plugin.info.txt in %s', $ext, $file));
135 $file = DOKU_CONF . 'plugin_lang/' . $plugin . '/' . $conf['lang'] . '/' . $id . '.' . $ext;
136 if (!file_exists($file)) {
137 $file = DOKU_PLUGIN . $plugin . '/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
138 if (!file_exists($file)) {
140 $file = DOKU_PLUGIN . $plugin . '/lang/en/' . $id . '.' . $ext;
143 return $file;
158 // don't include once, in case several plugin components require the same language file