Lines Matching refs:file
39 $file = null;
40 …if(@file_exists($farmconf['farmer'].'lib/plugins/farm/installed')) $file = $farmconf['farmer'].'li…
41 if(@file_exists('./lib/plugins/farm/installed')) $file = './lib/plugins/farm/installed';
42 if(!$file) return '';
43 if(!$s) return trim(@file_get_contents($file));
44 if($fp = fopen($file, 'w')) {
90 }else die('Could not create farm rewrite file');
106 }else die('Could not create barn rewrite file');
128 // Copy preload file
129 …m/install/preload.php', $farmconf['farmer'].'inc/preload.php')) die('Could not copy preload file');
136 $file = $farmconf['farmwebroot'].'farm.wsdl';
137 $wsdl = str_replace('{wsdl}', $file, $wsdl);
146 // Copy trusted application config file
147 …mer'].'lib/plugins/farm/trusted_apps.php')) die('Could not copy trusted applications config file');
159 }else die('Could not update rewrite file');
160 }else die('Could not load rewrite file');
164 if(!@unlink(__FILE__)) die('Could not remove farm structure creator script file');
165 if(!@unlink('config.php')) die('Could not remove farm config temp file');