From 767da4d86ae92c54183f2629229972aef069c344 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 26 Jan 2011 15:30:38 +0000 Subject: [PATCH] Remove warning --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 05ada4a157b..9564e56af09 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -117,7 +117,7 @@ analyse_sql_and_script($_GET,1); analyse_sql_and_script($_POST,0); // This is to make Dolibarr working with Plesk -set_include_path($_SERVER['DOCUMENT_ROOT'].'/htdocs'); +if (! empty($_SERVER['DOCUMENT_ROOT'])) set_include_path($_SERVER['DOCUMENT_ROOT'].'/htdocs'); // Include the conf.php and functions.lib.php