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.1 and 1.2

version 1.1, 2007/03/11 03:49:49 version 1.2, 2007/03/11 04:10:08
Line 13 
Line 13 
  *   *
  */   */
   
 /* $Platon$ */  /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.1 2007-03-11 03:49:49 nepto Exp $ */
   
   
 require_once dirname(__FILE__).'/SK-NIC.php';  
   
 error_reporting(E_ALL);  error_reporting(E_ALL);
   
 $dsn      = 'mysql://test:test@localhost/test';  
 $filename = @$_SERVER['argv'][1];  $filename = @$_SERVER['argv'][1];
   
 if (strlen($filename) <= 0) {  if (strlen($filename) <= 0) {
Line 32  if (! file_exists($filename) || ! is_rea
Line 29  if (! file_exists($filename) || ! is_rea
         die('File "'.$filename.'" does not exist or is not readable.'."\n");          die('File "'.$filename.'" does not exist or is not readable.'."\n");
 }  }
   
   $dsn = 'mysql://test:test@localhost/test';
   
   if (file_exists(dirname(__FILE__).'/config.inc.php')) {
           require_once dirname(__FILE__).'/config.inc.php';
   }
   
   require_once dirname(__FILE__).'/SK-NIC.php';
   
 $sk_nic = new SK_NIC($dsn);  $sk_nic = new SK_NIC($dsn);
 $sk_nic->doImport($filename);  $sk_nic->doImport($filename);
 $changed_records = $sk_nic->doComparison();  $changed_records = $sk_nic->doComparison();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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