cosmetic fix & versio update

This commit is contained in:
sparc 2011-07-09 08:18:03 +00:00
parent 136b9ca4ef
commit ed1407c816
5 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
include('whois.main.php'); include('whois.main.php');
if (isset($argv[1])) if (isset($argv[1]))
$domain=$argv[1]; $domain = $argv[1];
else else
$domain = 'example.com'; $domain = 'example.com';
@ -37,4 +37,4 @@ $whois = new Whois();
$result = $whois->Lookup($domain); $result = $whois->Lookup($domain);
print_r($result); print_r($result);
?> ?>

View file

@ -141,4 +141,4 @@ else
return $ret; return $ret;
} }
?> ?>

View file

@ -37,4 +37,4 @@ class xx_handler
return $r; return $r;
} }
} }
?> ?>

View file

@ -60,7 +60,7 @@ class WhoisClient {
); );
// This release of the package // This release of the package
var $CODE_VERSION = '4.2.0'; var $CODE_VERSION = '4.2.1';
// Full code and data version string (e.g. 'Whois2.php v3.01:16') // Full code and data version string (e.g. 'Whois2.php v3.01:16')
var $VERSION; var $VERSION;
@ -591,5 +591,5 @@ class WhoisClient {
return $dns; return $dns;
} }
} }
?>

View file

@ -210,4 +210,4 @@ foreach($array2 as $key => $value)
return !isset($difference) ? false : $difference; return !isset($difference) ? false : $difference;
} }
?> ?>