Lines Matching refs:f
4 function my_filemtime($f,$recursive=false){ argument
5 if($recursive && is_dir($f)){
6 $files = getFilesInDir($f, true);
10 $max = max($max, filemtime("$f/$file"));
13 return is_file($f) ? filemtime($f) : 0;
26 while(($f = readdir($dh)) !== false){
27 if ($recursive && is_dir($dir.$f) && $f!='.' && $f!='..'){
28 $gs = getFilesInDir($dir.$f, $recursive, $type, $filter, $showhidden, $showdots);
30 $fs[] = $f.'/'.$g;
32 if(($type=='f' && !is_file($dir.$f)) ||
33 ($type=='d' && !is_dir($dir.$f)) ||
34 (!$showdots && ($f=='.' || $f=='..')) ||
35 (!$showhidden && $f[0]=='.') ||
36 ($filter && !preg_match("/$filter/", $f)) )
38 $fs[]=$f;