Lines Matching refs:farmconf
25 private static $farmconf = array(); variable in dokuwiki_farm_animal
36 $this->path = self::$farmconf['farmfsroot'].self::$farmconf['barn'].$this->name;
77 $url = self::$farmconf['farmwebroot'];
79 if(!self::$farmconf['userewrite']) {
80 $url .= self::$farmconf['farmer'];
92 if(!self::$farmconf['farmrewrite']) $url .= self::$farmconf['barn'];
563 if($this->name == self::$farmconf['animaltemplate']) return false;
596 if($farmconf['farmmaxanimals'] > 0) {
597 if(count(self::listAnimals()) >= $farmconf['farmmaxanimals']) {
603 if($farmconf['farmmaxsize'] > 0) {
604 if(count(self::farmSize()) >= $farmconf['farmmaxsize']) {
610 if(!$template) $template = self::$farmconf['animaltemplate'];
618 …ts($name) || ($name == trim(self::$farmconf['farmer'], '/')) || @is_dir(self::$farmconf['farmfsroo…
639 …if(!self::cp_r(self::$farmconf['farmfsroot'].self::$farmconf['barn'].$template, self::$farmconf['f…
644 if($fp = fopen(self::$farmconf['farmfsroot'].self::$farmconf['barn'].$name.'/animal.meta', 'w')) {
667 if($host && self::$farmconf['virtual']) {
669 …$e = array_filter(array_merge(array(self::$farmconf['farmerhost']), array_map(create_function('$l'…
697 foreach(scandir(self::$farmconf['farmfsroot'].self::$farmconf['barn']) as $i) {
767 if(!self::$farmconf) {
768 $farmconf = array();
770 self::$farmconf = $farmconf;
772 return self::$farmconf;
786 …urn @is_dir(self::$farmconf['farmfsroot'].self::$farmconf['barn'].$name) && @file_exists(self::$fa…