bug #17778 Problème pour génération de facture

This commit is contained in:
sparkyx 2006-09-18 16:23:50 +00:00
parent 14b77deabe
commit 5c142bbb5f
3 changed files with 15 additions and 13 deletions

View file

@ -33,7 +33,7 @@ include_once("constant.php");
function echo_debug ($file,$line="",$msg="") {
if ( DEBUG=='true' ) {
$f=fopen ("/tmp/phpcompta.log","a+");
$f=fopen ($_ENV['TMP'].DIRECTORY_SEPARATOR."phpcompta.log","a+");
fwrite($f,"$file $line $msg\n");
fclose ($f);
}