public static function getPathToGeoIpDatabase($possibleFileNames)
    {
        foreach ($possibleFileNames as $filename) {
            $path = self::getPathForGeoIpDatabase($filename);
            if (file_exists($path)) {
                return $path;
            }
        }
        return false;
    }
public static function getPathToGeoIpDatabase($possibleFileNames)
    {
        foreach ($possibleFileNames as $filename) {
            $path = self::getPathForGeoIpDatabase($filename);
            if (file_exists($path)) {
                return $path;
            }
        }
        return false;
    }
public static function getPathToGeoIpDatabase ( $ possibleFileNames ) { foreach ( $ possibleFileNames as $ filename ) { $ path = self :: getPathForGeoIpDatabase ( $ filename ) ; if ( file_exists ( $ path ) ) { return $ path ; } } return false ; }
Returns the path of an existing GeoIP database or false if none can be found.

@param array $possibleFileNames The list of possible file names for the GeoIP database.
@return string|false
Returns the path of an existing GeoIP database or false if none can be found .