summaryrefslogblamecommitdiff
path: root/french/facturier/files/patch-lib_Util.pm
blob: 9ade15d2ee8c3ef529d9f7a6385c0bba859f8cea (plain) (tree)






















                                                                                                                                     
--- lib/Util.pm.orig	Sat Feb  1 15:54:45 2003
+++ lib/Util.pm	Sat Feb  1 16:26:12 2003
@@ -67,6 +67,7 @@
 =cut
 
 sub debug {
+=port-FreeBSD sans trace
    my (@DATE) = ("Janvier","F�vrier", "Mars","Avril", "Mai", "Juin", "Juillet","Ao�t","Septembre", "Octobre","Novembre","D�cembre");
    my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
    $year += 1900;
@@ -78,10 +79,11 @@
    $date .= "mn";
    $date .= (length($sec) > 1)?$sec:"0$sec";
    $date .= "s";
-   open (DEBUG , ">>$BASEAD/log/debug.txt") ||
+   open (DEBUG , ">>/var/log/facturier.log") ||
       &alert ("Probleme d'ouverture du fichier de debug");
    print DEBUG "$date:",@_,"\n";
    close (DEBUG);
+=cut
    return;
 }