Returns the type of GeoIP database ('loc', 'isp' or 'org') based on the
filename (eg, 'GeoLiteCity.dat', 'GeoIPISP.dat', etc).
public static getGeoIPDatabaseTypeFromFilename ( string $filename ) : string | false | ||
$filename | string | |
Результат | string | false | 'loc', 'isp', 'org', or false if cannot find a database type. |