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

Diff of /phpcompta/include/debug.php

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

revision 1.6 by sparkyx, Sat Nov 6 19:32:44 2004 UTC revision 1.7 by sparkyx, Tue Aug 9 15:30:34 2005 UTC
# Line 34  function echo_debug      ($file,$line="" Line 34  function echo_debug      ($file,$line=""
34            
35      $sql= "insert into log (lg_file,lg_line,lg_msg) ".      $sql= "insert into log (lg_file,lg_line,lg_msg) ".
36            "values ('$file','$line','$msg');";            "values ('$file','$line','$msg');";
37    //    pg_exec ($cn,"\set encoding 'latin1'");
38      //  echo pg_client_encoding($cn);
39        pg_set_client_encoding($cn,'latin1');
40      pg_exec($cn,$sql);      pg_exec($cn,$sql);
41    }    }
42  }  }

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

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