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.7 and 1.8

version 1.7, 2009/03/16 20:51:23 version 1.8, 2009/11/04 06:54:57
Line 13 
Line 13 
  *   *
  */   */
   
 /* $Platon: scripts/php/sk-nic/SK-NIC.php,v 1.6 2007-03-14 21:41:20 nepto Exp $ */  /* $Platon: scripts/php/sk-nic/SK-NIC.php,v 1.7 2009-03-16 20:51:23 rajo Exp $ */
   
 require_once 'DB.php';  require_once 'DB.php';
   
Line 52  class SK_NIC
Line 52  class SK_NIC
                 return $ar;                  return $ar;
         } /* }}} */          } /* }}} */
   
         function error($err_obj) // {{{          function error($err_obj, $debug = 0) // {{{
         {          {
                 if (is_object($err_obj)) {                  if (is_object($err_obj)) {
                         $error_string = $err_obj->getMessage() . "\n" . $err_obj->getDebugInfo();                          $error_string = $err_obj->getMessage();
                           if (! empty($debug)) {
                                   $error_string .= "\n";
                                   $error_string .= $err_obj->getDebugInfo();
                           }
                 } else {                  } else {
                         $error_string = $err_obj;                          $error_string = $err_obj;
                 }                  }
                 echo "\nFATAL ERROR: $error_string\n";                  printf("\n%s FATAL ERROR: %s\n", basename(__FILE__), $error_string);
                 die();                  die();
         } // }}}          } // }}}
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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