Location: PHPKode > scripts > php-tld > barseghyanartur-php-tld-3f88d9afafb9/update.php
<?php
/**
 * @package Tld
 * @author Artur Barseghyan (hide@address.com)
 * @version 0.1
 * @license MPL 1.1/GPL 2.0/LGPL 2.1
 * @link http://bitbucket.org/barseghyanartur/php-tld
 *
 * Commands for updating the TLD names file from command line.
 */

require 'utils.php';

Tld::updateTldNames();
echo sprintf("File %s has been successfully updated!" . PHP_EOL, Tld::NAMES_LOCAL_PATH);
Return current item: php-tld