Fix bad file name

This commit is contained in:
Laurent Destailleur 2016-02-25 03:19:11 +01:00
parent 96305ca00f
commit b46c23ab35

View File

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