Lines Matching refs:farmconf
9 global $farmconf;
10 $farmconf = array(); variable
42 global $farmconf;
44 …if(@file_exists($farmconf['farmer'].'lib/plugins/farm/installed')) $file = $farmconf['farmer'].'li…
68 global $farmconf;
82 …echo ' '.getLang('structure_success', $farmconf['farmwebroot'].$farmconf['farmer'].'?do=admin&pa…
110 if(!@is_dir(realpath($farmconf['farmfsroot'].$farmconf['farmer']))) {
111 …if(!@mkdir($farmconf['farmfsroot'].$farmconf['farmer'], 0755)) out('structure_cannotcreatefarmerdi…
116 …ealpath($farmconf['farmfsroot'].$farmconf['barn']) != realpath($farmconf['farmfsroot'])) && !@is_d…
117 …if(!@mkdir($farmconf['farmfsroot'].$farmconf['barn'], 0755)) out('structure_cannotcreatebarndir_fa…
128 $farmconf['farmfsroot'].$farmconf['farmer'],
130 …array('./'.basename(__FILE__), './'.trim($farmconf['farmer'], '/'), './'.trim($farmconf['barn'], '…
139 $file = $farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess';
140 if(!@file_exists($file)) $file = $farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess.dist';
144 $wr = $farmconf['farmwebroot'].$farmconf['farmer'];
159 …farmconf['farmfsroot'].$farmconf['farmer'].'inc/preload.php')) copy($farmconf['farmfsroot'].$farmc…
160 …if(!copy($farmconf['farmfsroot'].$farmconf['farmer'].'lib/plugins/farm/install/preload.php', $farm…
166 if(!@is_dir($farmconf['farmfsroot'].$farmconf['barn'].$farmconf['animaltemplate'])) {
168 …if(!@mkdir($farmconf['farmfsroot'].$farmconf['barn'].$farmconf['animaltemplate'], 0755)) out('stru…
170 $farmconf['farmfsroot'].$farmconf['farmer'].'lib/plugins/farm/install/animaltemplate',
171 $farmconf['farmfsroot'].$farmconf['barn'].$farmconf['animaltemplate']
176 …if($fp = fopen($farmconf['farmfsroot'].$farmconf['barn'].'/'.$farmconf['animaltemplate'].'/animal.…
184 foreach(scandir($farmconf['farmfsroot'].$farmconf['barn']) as $i) {
186 if($i == $farmconf['animaltemplate']) continue;
187 if(!@is_dir($farmconf['farmfsroot'].$farmconf['barn'].$i)) continue;
188 …if((realpath($farmconf['farmfsroot'].$farmconf['barn']) == realpath($farmconf['farmfsroot'])) && (…
196 if($fp = fopen($farmconf['farmfsroot'].$farmconf['barn'].'/'.$i.'/animal.meta', 'w')) {
202 $ctn = @file_get_contents($farmconf['farmfsroot'].$farmconf['barn'].'/'.$i.'/conf/'.$c);
203 $fp = fopen($farmconf['farmfsroot'].$farmconf['barn'].'/'.$i.'/conf/'.$c, 'w');