diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 2c595519bed..7b68ed1b0af 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -41,7 +41,7 @@ if (!$user->rights->propale->lire) accessforbidden(); if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT.'/project.class.php'); -if ($conf->commande->enabled) require_once('../commande/commande.class.php'); +if ($conf->commande->enabled) require_once(DOL_DOCUMENT_ROOT."/commande/commande.class.php'); require_once('./propal_model_pdf.class.php'); require_once('../propal.class.php'); require_once('../actioncomm.class.php'); @@ -811,15 +811,17 @@ if ($_GET['propalid']) { print '
'; } diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php index 032297c601d..cb7fc178944 100644 --- a/htdocs/compta/propal.php +++ b/htdocs/compta/propal.php @@ -35,7 +35,7 @@ if (!$user->rights->propale->lire) accessforbidden(); if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT.'/project.class.php'); -if ($conf->commande->enabled) require_once('../commande/commande.class.php'); +if ($conf->commande->enabled) require_once(DOL_DOCUMENT_ROOT."/commande/commande.class.php'); require_once(DOL_DOCUMENT_ROOT."/lib/CMailFile.class.php"); require_once("../propal.class.php"); //require_once("../actioncomm.class.php");