diff --git a/dev/initdata/import-products.php b/dev/initdata/import-products.php index 5c1f80c384c53b7b322a66e4ced5cf8b283af750..3c467fbfff5dd0aa39c9009cc4d7d74a2e8ba007 100755 --- a/dev/initdata/import-products.php +++ b/dev/initdata/import-products.php @@ -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';