Lines Matching refs:file
38 * @param string $file file path
42 public static function streamWriter($stream, $file) argument
46 $fileexists = @file_exists($file);
48 io_makeFileDir($file);
49 io_lock($file);
51 $fh = @fopen($file, 'wb');
54 io_unlock($file);
65 chmod($file, $conf['fperm']);
68 io_unlock($file);
133 * @param string $file
140 public static function searchCallback(&$data, $base, $file, $type, $lvl, $opts = []) argument
151 $item['id'] = pathID($file, $is_dir);
160 $item['mtime'] = filemtime("$base/$file");
170 $item['file'] = basename($file);