Lines Matching refs:filepath
14 $filepath = $start_dir . '/' . $file;
15 if ( is_dir($filepath) ) {
20 if(preg_match('/GeoLite2-City_*\d+/',$filepath)) {
22 $City_dnld_dir = $filepath;
23 echo "Directory: $filepath \nFiles:\n";
25 listdir($filepath,$found);
27 else if($found && preg_match('/GeoLite2-City_*\d+/',$filepath)) {
28 if(preg_match("/GeoLite2-City.mmdb/",$filepath)) {
30 copy ($filepath , "./GeoLite2-City/GeoLite2-City.mmdb") ;
32 echo "unlinking: $filepath \n";
33 unlink($filepath);