From 022ad8755f6c777c790b6259bf8bdbdcb52c5b17 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Mar 2011 09:12:49 +0000 Subject: [PATCH] Removed useless code --- htdocs/filefunc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 22b3cd2d926..a9357c6b8df 100755 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -119,7 +119,7 @@ if (! empty($dolibarr_main_document_root_alt)) define('DOL_DOCUMENT_ROOT_ALT', $dolibarr_main_document_root_alt); // Filesystem paths to alternate core php (alternate htdocs) } // Define DOL_MAIN_URL_ROOT and DOL_URL_ROOT -$tmp=$dolibarr_main_url_root; +$tmp=''; $found=0; $real_dolibarr_main_document_root=str_replace('\\','/',realpath($dolibarr_main_document_root)); $pathroot=$_SERVER["DOCUMENT_ROOT"];