Lines Matching defs:file
41 * Reads the main file, plugins and template settings meta data
47 // load main file
79 * Reads the main file, plugins and template defaults
186 foreach ($files as $file) {
187 $conf = array_merge($conf, $this->parser->parse($file));
193 * Read settings file from an extension
197 * @param string $file php file to read
202 protected function loadExtensionMeta($file, $type, $extname)
204 if (!file_exists($file)) return [];
207 // include file
209 include $file;
224 * Read a default file from an extension
228 * @param string $file php file to read
233 protected function loadExtensionConf($file, $type, $extname)
235 if (!file_exists($file)) return [];
238 // parse file
239 $conf = $this->parser->parse($file);
252 * Read the language file of an extension