Rev 8 | Rev 77 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8 | Rev 11 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/usr/bin/php |
1 | #!/usr/bin/php |
2 | <?php |
2 | <?php |
3 | 3 | ||
4 | # |
4 | # |
5 | # VWhois (ViaThinkSoft WHOIS, a fork of generic Whois / gwhois) |
5 | # VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois) |
6 | # Maintenance / Developer utilities |
6 | # Maintenance / Developer utilities |
7 | # |
7 | # |
8 | # (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de> |
8 | # (c) 2012-2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de> |
9 | # |
9 | # |
10 | # License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2) |
10 | # License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2) |
Line 110... | Line 110... | ||
110 | 110 | ||
111 | if ($count == 0) { |
111 | if ($count == 0) { |
112 | // Add header |
112 | // Add header |
113 | $pcont = "#: version $now\n". |
113 | $pcont = "#: version $now\n". |
114 | "# Domains\n". |
114 | "# Domains\n". |
115 | "# This file can be updated by running \"gwhois-pattern-update\", but it does only ADD new \"New gTLDs\"\n". |
115 | "# This file can be updated by running \"vgwhois-pattern-update\", but it does only ADD new \"New gTLDs\"\n". |
116 | "# --------------------------------------------------------------------\n". |
116 | "# --------------------------------------------------------------------\n". |
117 | "\n".$pcont; |
117 | "\n".$pcont; |
118 | } |
118 | } |
119 | 119 | ||
120 | if ($pcont != $pcont_original) { |
120 | if ($pcont != $pcont_original) { |