Lines Matching refs:fp
147 if($fp = fopen($this->path.'/animal.meta', 'w')) {
148 fwrite($fp, implode("\n", $out));
149 fclose($fp);
263 if($fp = @fopen($this->path.'/conf/'.$to, 'w')) {
264 fwrite($fp, "<?php\n// Generated by farm plugin (".date('Y-m-d H:i:s').")\n\n".$conf."\n");
265 fclose($fp);
308 if($fp = @fopen($this->path.'/conf/'.$rel[$mode], 'w')) {
309 fwrite($fp, "<?php\n// Generated by farm plugin (".date('Y-m-d H:i:s').")\n\n".$conf."\n");
310 fclose($fp);
397 if($fp = fopen($this->path.'/conf/users.auth.php', 'w')) {
398 fwrite($fp, $authfile);
399 fclose($fp);
446 if($fp = fopen($this->path.'/conf/users.auth.php', 'w')) {
447 fwrite($fp, implode("\n", $out));
448 fclose($fp);
536 if($fp = fopen($this->path.'/'.$file, 'w')) {
537 fwrite($fp, $ctn);
538 fclose($fp);
644 if($fp = fopen(self::$farmconf['farmfsroot'].self::$farmconf['barn'].$name.'/animal.meta', 'w')) {
645 fwrite($fp, 'creation_date : '.time());
646 fclose($fp);
671 $fp = fopen(DOKU_FARM_PLUGIN.'virtual_hosts.php', 'w');
672 if($fp) {
673 fwrite($fp, $vh."\n".$host.' '.$name);
674 fclose($fp);