Lines Matching +full:farm +full:host +(+path:plugin +path:farmer) -(+path:plugin +path:farmer +path:lang)
5 * Core Manager for the Farm functionality
53 /** @var bool true if the current animal was requested by host */
59 * This initializes the whole farm by loading the configuration and setting
65 if ($this->config['base']['farmdir'] === '') return; // farm setup not complete
85 * @return array the current farm configuration
138 * This borrows form DokuWiki's inc/farm.php but does not support a default conf dir
176 // no host - no host based setup. if we're still here then it's the farmer
184 // still here? check for host based
199 * Return a list of possible animal names for the given host
201 * @param string $host the HTTP_HOST header
204 protected function getAnimalNamesForHost($host)
207 $parts = explode('.', implode('.', explode(':', rtrim($host, '.'))));
211 // strip from the end without host part
407 * Loads the farm config
411 $ini = DOKU_INC . 'conf/farm.ini';