Rev 7 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7 | 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 156... | Line 156... | ||
156 | if ($count == 0) { |
156 | if ($count == 0) { |
157 | // Add header |
157 | // Add header |
158 | $pcont = "#: version $now\n". |
158 | $pcont = "#: version $now\n". |
159 | "# New gTLD\n". |
159 | "# New gTLD\n". |
160 | "# see: http://newgtlds.icann.org/en/program-status/delegated-strings\n". |
160 | "# see: http://newgtlds.icann.org/en/program-status/delegated-strings\n". |
161 | "# This file can be updated by running "gwhois-pattern-update", but it does only ADD new \"New gTLDs\"\n". |
161 | "# This file can be updated by running "vgwhois-pattern-update", but it does only ADD new \"New gTLDs\"\n". |
162 | "# --------------------------------------------------------------------\n". |
162 | "# --------------------------------------------------------------------\n". |
163 | "\n".$pcont; |
163 | "\n".$pcont; |
164 | } |
164 | } |
165 | 165 | ||
166 | if ($pcont != $pcont_original) { |
166 | if ($pcont != $pcont_original) { |