/[phpcompta]/phpcompta/include/ac_common.php
ViewVC logotype

Diff of /phpcompta/include/ac_common.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by stanpinte, Sun Mar 6 14:52:14 2005 UTC revision 1.27 by sparkyx, Fri Apr 1 21:50:40 2005 UTC
# Line 24  include_once("debug.php"); Line 24  include_once("debug.php");
24  include_once("constant.php");  include_once("constant.php");
25    
26  function echo_error      ($p_log) {  function echo_error      ($p_log) {
 $fdebug=fopen("/tmp/phpcompta_error.log","a+");  
27  if ( $fdebug != false ) {  if ( $fdebug != false ) {
28            $fdebug=fopen("/tmp/phpcompta_error.log","a+");
29          fwrite($fdebug,date("Ymd H:i:s").$p_log."\n");          fwrite($fdebug,date("Ymd H:i:s").$p_log."\n");
30          fclose($fdebug);          fclose($fdebug);
31  }        }      

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26