Lines Matching refs:config
19 * @var array The default config - changed by loadConfig
21 protected $config = [
65 if ($this->config['base']['farmdir'] === '') return; // farm setup not complete
66 $this->config['base']['farmdir'] = rtrim($this->config['base']['farmdir'], '/') . '/'; // trailing slash always
67 define('DOKU_FARMDIR', $this->config['base']['farmdir']);
89 return $this->config;
142 $farmdir = $this->config['base']['farmdir'];
143 $farmhost = $this->config['base']['farmhost'];
229 * This sets up the default farming config cascade
323 * This adds additional files to the config cascade based on the inheritence settings
333 foreach ($this->config['inherit'] as $key => $val) {
345 'protected' => [DOKU_INC . 'lib/plugins/farmer/includes/config.php']
407 * Loads the farm config
413 $config = parse_ini_file($ini, true);
414 foreach (array_keys($this->config) as $section) {
415 if (isset($config[$section])) {
416 $this->config[$section] = array_merge(
417 $this->config[$section],
418 $config[$section]
425 if ($this->config['base']['farmdir'] === '' && isset($_ENV['DOKU_FARMDIR'])) {
426 $this->config['base']['farmdir'] = $_ENV['DOKU_FARMDIR'];
429 $this->config['base']['farmdir'] = trim($this->config['base']['farmdir']);
430 $this->config['base']['farmhost'] = strtolower(trim($this->config['base']['farmhost']));