Subversion Repositories vgwhois

Rev

Rev 11 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 77
Line 54... Line 54...
54
}
54
}
55
 
55
 
56
// Step 2:
56
// Step 2:
57
// Search for new TLDs which are not in our pattern file
57
// Search for new TLDs which are not in our pattern file
58
 
58
 
59
if (!isset($iana_tld_data)) {
59
if (is_null($iana_tld_data)) {
60
	$iana_tld_data = explode("\n", cached_file(IANA_TLD_REGISTRY, CACHE_FILE_DIR));
60
	$iana_tld_data = explode("\n", cached_file(IANA_TLD_REGISTRY, CACHE_FILE_DIR));
61
	$iana_tld_data = array_map('trim', $iana_tld_data);
61
	$iana_tld_data = array_map('trim', $iana_tld_data);
62
}
62
}
63
 
63
 
64
foreach ($iana_tld_data as $tld) {
64
foreach ($iana_tld_data as $tld) {