Changeset 785

Show
Ignore:
Timestamp:
08/08/07 16:08:16 (1 year ago)
Author:
mikey
Message:

fix dns check for localhost and 127.0.0.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/util/net/stubURL.php

    r774 r785  
    123123        } 
    124124         
     125        if ('localhost' === $this->url['host'] || '127.0.0.1' === $this->url['host']) { 
     126            return true; 
     127        } 
     128         
    125129        // windows does not support dns functions :( 
    126130        if (function_exists('checkdnsrr') === false) {