Lines Matching refs:file
43 $file = null;
44 …if(@file_exists($farmconf['farmer'].'lib/plugins/farm/installed')) $file = $farmconf['farmer'].'li…
45 if(@file_exists('./lib/plugins/farm/installed')) $file = './lib/plugins/farm/installed';
46 if(!$file) return '';
47 if(!$s) return trim(@file_get_contents($file));
48 if($fp = fopen($file, 'w')) {
139 $file = $farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess'; variable
140 if(!@file_exists($file)) $file = $farmconf['farmfsroot'].$farmconf['farmer'].'.htaccess.dist'; variable
141 if(@file_exists($file)) {
142 copy($file, $file.'.orig');
143 if($htaccess = @file_get_contents($file)) {
147 if($fp = fopen($file, 'w')) {