1. Artur Barseghyan
  2. php-tld

Commits

Artur Barseghyan  committed 19ab06f Draft

fix for update script

  • Participants
  • Parent commits ebee374
  • Branches default

Comments (0)

Files changed (1)

File update.php

View file
  • Ignore whitespace
  * Commands for updating the TLD names file from command line.
  */
 
+require 'utils.php';
+
 Tld::updateTldNames();
-echo _("Local TLD names file has been successfully updated!");
+echo sprintf("File %s has been successfully updated!" . PHP_EOL, Tld::NAMES_LOCAL_PATH);