From b46c23ab35e40969f6e86c7eba745ca3715b813d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Thu, 25 Feb 2016 03:19:11 +0100 Subject: [PATCH] Fix bad file name --- dev/initdata/import-products.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/initdata/import-products.php b/dev/initdata/import-products.php index 5c1f80c384c..3c467fbfff5 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'; -- GitLab