Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/vgwhois/trunk/maintenance/qa-monitor/run
(Generate patch)

Comparing trunk/maintenance/qa-monitor/run (file contents):
Revision 28 by daniel-marschall, Tue May 21 10:38:39 2019 UTC vs.
Revision 29 by daniel-marschall, Sun Aug 11 08:43:32 2019 UTC

# Line 84 | Line 84 | foreach ($tld_cont as $tld) {
84          # if (strpos(str_replace(')', '', $pattern_cont), '\.'.trim($tld).'$') === false) { # ')' wegen RegEx'es
85          if (!preg_match($regex, $pc)) {
86                  $iana_url = sprintf(IANA_TLD_ENTRY, $tld);
87 <                $iana_cont = file_get_contents($iana_url);
87 >                $iana_cont = cached_file($iana_url, CACHE_FILE_DIR);
88                  if (strpos($iana_cont, 'This domain is not present in the root zone at this time.') === false) {
89                          $loc_good = false;
90  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines