Fix: bad path

This commit is contained in:
Regis Houssin
2010-05-09 20:25:53 +00:00
parent c0248e2464
commit 9e092821dc
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ if (substr($sapi_type, 0, 3) == 'cgi') {
// Recupere root dolibarr
$path=preg_replace('/generate-commande.php/i','',$_SERVER["PHP_SELF"]);
require ($path."../htdocs/master.inc.php");
require ($path."../../htdocs/master.inc.php");
include_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
include_once(DOL_DOCUMENT_ROOT."/contact/class/contact.class.php");
include_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php");