diff --git a/htdocs/compta/paiement/cheque/pre.inc.php b/htdocs/compta/paiement/cheque/pre.inc.php index 1041dc682e7..f0d49b6b3d1 100644 --- a/htdocs/compta/paiement/cheque/pre.inc.php +++ b/htdocs/compta/paiement/cheque/pre.inc.php @@ -23,7 +23,7 @@ * \brief Fichier gestionnaire du menu cheques */ -require_once("../../../main.inc.php"); +require_once(realpath(dirname(__FILE__)) . "/../../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/compta/bank/class/account.class.php"); $langs->load("banks");