Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for scripts/php/sk-nic/sk-nic.php between version 1.3 and 1.4

version 1.3, 2007/03/12 04:47:23 version 1.4, 2007/03/14 00:25:27
Line 13 
Line 13 
  *   *
  */   */
   
 /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.2 2007-03-11 04:10:08 nepto Exp $ */  /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.3 2007-03-12 04:47:23 nepto Exp $ */
   
   
 error_reporting(E_ALL);  error_reporting(E_ALL);
Line 38  if (file_exists(dirname(__FILE__).'/conf
Line 38  if (file_exists(dirname(__FILE__).'/conf
 require_once dirname(__FILE__).'/SK-NIC.php';  require_once dirname(__FILE__).'/SK-NIC.php';
   
 $sk_nic = new SK_NIC($dsn);  $sk_nic = new SK_NIC($dsn);
 $sk_nic->doImport($filename);  if ($sk_nic->doImport($filename)) {
 $sk_nic->writeStats();          $sk_nic->writeStats();
 $changed_records = $sk_nic->doComparison();          $changed_records = $sk_nic->doComparison();
 printf('Total %d changed records.'."\n", $changed_records);          printf('Total %d changed records.'."\n", $changed_records);
   } else {
           die('Imported file is too old.'."\n");
   }
   
 /* Modeline for ViM {{{  /* Modeline for ViM {{{
  * vim: set ts=4:   * vim: set ts=4:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top