Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

debug.php File Reference

Debug procedure. More...

Go to the source code of this file.

Functions

 echo_debug ($file, $line="", $msg="")
 print debug


Detailed Description

Debug procedure.

Definition in file debug.php.


Function Documentation

echo_debug file,
line = "",
msg = ""
 

print debug

Parameters:
$file file name
what line
debugging msg

Definition at line 34 of file debug.php.

Referenced by AddFiche(), AddForm(), AddModele(), fiche::blank(), cl_user::Check(), CheckJrn(), CheckPoste(), cl_user::cl_user(), ComputeTotalVat(), ComputeVat(), action::Confirm(), DbConnect(), DefModele(), DeleteRapt(), fiche::Display(), action::Display(), DisplayDetailModele(), echo_error(), EncodeFiche(), EncodeForm(), ExecSql(), form_verify_input(), FormAchInput(), FormVenInput(), Document::Generate(), fiche::Get(), action::get(), get_quick_key(), GetAllUser(), GetArray(), fiche::GetByQCode(), GetClass(), GetCreateAccount(), GetData(), GetDataJrnJrId(), GetDataJrnPdf(), jrn::GetDefLine(), cl_user::GetGlobalPref(), GetNextFiche(), GetParent(), GetPriv(), GetRappel(), jrn::GetRow(), jrn::GetRowSimple(), ImpHtml(), fiche::insert(), cl_user::insert_default_global_pref(), InsertJrn(), InsertJrnx(), InsertRapt(), InsertStockGoods(), widget::IOValue(), isDate(), jrn_navigation_bar(), make_array(), action::myList(), new_fiche(), Document::ParseDocument(), ParseFormula(), RecordFin(), RecordInvoice(), RecordJrn(), RecordSell(), Document_modele::Save(), save_upload_document(), Document::SaveGenerated(), action::SaveStage2(), action::SaveStage3(), ShowDossier(), ShowMenuCompta(), ShowMenuJrnUser(), ShowPeriode(), u_ShowMenuRecherche(), fiche::update(), action::Update(), UpdateFiche(), UpdateForm(), UpdateJrn(), UpdateModele(), VerifData(), VerifyOperationDate(), ViewImp(), ViewJrn(), ViewRec(), and ViewRecord().

00034                                                   {
00035   if ( DEBUG=='true' ) {
00036     $f=fopen ("/tmp/phpcompta.log","a+");
00037     fwrite($f,"$file $line $msg\n");
00038     fclose ($f);
00039   }
00040 }