Removed useless code
This commit is contained in:
parent
863de33d6a
commit
022ad8755f
@ -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_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
|
// Define DOL_MAIN_URL_ROOT and DOL_URL_ROOT
|
||||||
$tmp=$dolibarr_main_url_root;
|
$tmp='';
|
||||||
$found=0;
|
$found=0;
|
||||||
$real_dolibarr_main_document_root=str_replace('\\','/',realpath($dolibarr_main_document_root));
|
$real_dolibarr_main_document_root=str_replace('\\','/',realpath($dolibarr_main_document_root));
|
||||||
$pathroot=$_SERVER["DOCUMENT_ROOT"];
|
$pathroot=$_SERVER["DOCUMENT_ROOT"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user