Home
last modified time | relevance | path

Searched refs:farmconf (Results 1 – 12 of 12) sorted by relevance

/plugin/farm/install/
H A Dfarmstructurecreator.php9 global $farmconf;
10 $farmconf = array(); variable
42 global $farmconf;
68 global $farmconf;
116 …ealpath($farmconf['farmfsroot'].$farmconf['barn']) != realpath($farmconf['farmfsroot'])) && !@is_d…
128 $farmconf['farmfsroot'].$farmconf['farmer'],
144 $wr = $farmconf['farmwebroot'].$farmconf['farmer'];
159farmconf['farmfsroot'].$farmconf['farmer'].'inc/preload.php')) copy($farmconf['farmfsroot'].$farmc…
166 if(!@is_dir($farmconf['farmfsroot'].$farmconf['barn'].$farmconf['animaltemplate'])) {
171 $farmconf['farmfsroot'].$farmconf['barn'].$farmconf['animaltemplate']
[all …]
H A Dconfig.php10 $farmconf['farmer'] = '<farmer directory>/ (ex: farmer/)';
13 $farmconf['barn'] = '<barn directory>/ (ex: animals/)';
16 $farmconf['farmrewrite'] = false;
19 $farmconf['userewrite'] = false;
22 $farmconf['virtual'] = false;
25 $farmconf['farmerhost'] = '';
28 $farmconf['animaltemplate'] = 'animaltemplate';
31 $farmconf['enablesoap'] = false;
34 $farmconf['farmmaxsize'] = 0;
37 $farmconf['animalmaxsize'] = 0;
[all …]
H A Dfarmstructurecreator.php.bak38 global $farmconf;
55 global $farmconf;
56 $farmconf = array();
72 $farmconf['farmer'],
80 if($farmconf['userewrite']) {
115 $farmconf['barn'].$farmconf['animaltemplate']
121 if($fp = fopen($farmconf['barn'].'/'.$farmconf['animaltemplate'].'/animal.meta', 'w')) {
152 if($htaccess = @file_get_contents($farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess')) {
153 $wr = $farmconf['farmwebroot'].$farmconf['farmer'];
156 if($fp = fopen($farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess', 'w')) {
[all …]
H A Dpreload.php9 $farmconf = array();
45 $farmconf = array(); variable
48 $barn = $farmconf['farmfsroot'].$farmconf['barn'];
49 $plugin = $farmconf['farmfsroot'].$farmconf['farmer'].'lib/plugins/farm/';
92 $wr = $farmconf['farmwebroot'];
94 …$exp = !$farmconf['userewrite'] ? $farmconf['farmer'] : (!$farmconf['farmrewrite'] ? $farmconf['ba…
98 if(!defined('DOKU_URL')) define('DOKU_URL', '/'.$farmconf['farmwebroot'].$exp);
102 define('DOKU_CONF', $farmconf['farmfsroot'].$farmconf['farmer'].'conf/');
/plugin/farmer/admin/
H A Dconfig.php39 if (!$INPUT->has('farmconf')) return;
42 $farmconf = $this->helper->getConfig();
43 $farmdir = $farmconf['base']['farmdir'];
44 $farmconf = array_merge($farmconf, $INPUT->arr('farmconf'));
45 $farmconf['base']['farmdir'] = $farmdir;
47 $farmconf['base']['basedomain'] = trim(trim($farmconf['base']['basedomain'], '.'));
51 $data .= $this->createIni($farmconf);
[all...]
/plugin/farm/
H A Daction.php87 $farmconf = dokuwiki_farm_animal::getConf();
90 if((int)$farmconf['animalmaxsize'] > 0) {
91 if($animal->getInfos()->getSize() >= (int)$farmconf['animalmaxsize']) $toobig = true;
95 if((int)$farmconf['farmmaxsize'] > 0) {
96 if(dokuwiki_farm_animal::farmSize() >= (int)$farmconf['farmmaxsize']) $farmtoobig = true;
113 $farmconf = dokuwiki_farm_animal::getConf();
115 if($farmconf['virtual'] && ($_SERVER['HTTP_HOST'] != $farmconf['farmerhost'])) {
125 }elseif(!$farmconf['userewrite']) {
128 …$event->data['link'][$i]['href'] = $farmconf['farmwebroot'].$farmconf['farmer'].substr($event->dat…
134 …$event->data['script'][$i]['src'] = $farmconf['farmwebroot'].$farmconf['farmer'].substr($event->da…
H A Danimal.class.php25 private static $farmconf = array(); variable in dokuwiki_farm_animal
36 $this->path = self::$farmconf['farmfsroot'].self::$farmconf['barn'].$this->name;
92 if(!self::$farmconf['farmrewrite']) $url .= self::$farmconf['barn'];
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…
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;
[all …]
H A Dsoapserver.php216 $farmconf = array(); variable
219 if(!isset($farmconf['enablesoap'])) die();
220 if(!$farmconf['enablesoap']) die();
224 $wsdl = $farmconf['farmfsroot'].'farm.wsdl';
H A Dadmin.php122 $farmconf = array();
124 $this->conf = $farmconf;
H A Dconfig.class.php31 $farmconf = array();
33 $this->data = $farmconf;
/plugin/letsencrypt/
H A Dhelper.php61 $farmconf = $farmer->getConfig();
62 if(isset($farmconf['base']['farmhost'])) {
63 $domains[] = $farmconf['base']['farmhost'];
/plugin/farmer/
H A Dhelper.php252 $farmconf = $this->getConfig();
257 if ($farmconf['inherit']['plugins']) {