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

Diff for Metafox/error.inc.php between version 1.8 and 1.9

version 1.8, 2006/09/02 18:34:58 version 1.9, 2006/09/03 14:03:24
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/error.inc.php,v 1.7 2006-08-18 17:27:33 nepto Exp $ */  /* $Platon: Metafox/error.inc.php,v 1.8 2006-09-02 18:34:58 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'HTML/Template/Platon.php';  require_once 'HTML/Template/Platon.php';
Line 153  function ezin_error_send_notify_email($e
Line 153  function ezin_error_send_notify_email($e
          * Checking existing error log           * Checking existing error log
          */           */
         // TODO: fix the /tmp/ to use something more standard compliant          // TODO: fix the /tmp/ to use something more standard compliant
         $error_log_file  = '/tmp/Metafox-error.'.$ezin_cfg['abbreviation'].'.'.md5($ezin_cfg['name']).'.txt';          $site_key = @$ezin_cfg['abbreviation'].'.'.md5(@$ezin_cfg['name']);
           $error_log_file  = '/tmp/Metafox-error.'.$site_key.'.txt';
         $error_log_mtime = @filemtime($error_log_file);          $error_log_mtime = @filemtime($error_log_file);
         $error_log_msg   = @file_get_contents($error_log_file);          $error_log_msg   = @file_get_contents($error_log_file);
         if (! strcasecmp(trim($err_msg), trim($error_log_msg)) && time() - $error_log_mtime < 1800) {          if (! strcasecmp(trim($err_msg), trim($error_log_msg)) && time() - $error_log_mtime < 1800) {

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

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