From 8dfa506a6555e78f8e120c83e398fa7f53109eaf Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 29 Sep 2011 08:53:42 +0200 Subject: [PATCH] Fix: test another method for void phpunit error --- htdocs/compta/paiement/cheque/pre.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");