svncommit
2006-09-23 6649b1f0a5db6160d197a13ca79cfd67fbb02d77
program/include/bugs.inc
@@ -67,11 +67,17 @@
    if (empty($CONFIG['log_dir']))
      $CONFIG['log_dir'] = $INSTALL_PATH.'logs';
      
    if ($fp = fopen($CONFIG['log_dir'].'/errors', 'a'))
    // try to open specific log file for writing
    if ($fp = @fopen($CONFIG['log_dir'].'/errors', 'a'))
    
      {
      fwrite($fp, $log_entry);
      fclose($fp);
      }
    else
      {
      // send error to PHPs error handler
      trigger_error($arg_arr['message']);
      }
    }
@@ -109,5 +115,4 @@
    }
  }
?>
?>