Correction du DOL_URL_ROOT
This commit is contained in:
parent
d799382098
commit
945e7f209b
@ -37,8 +37,11 @@ if (strtolower(substr($dolibarr_main_url_root, 0, 7)) == 'https:/')
|
|||||||
{
|
{
|
||||||
$uri = substr($dolibarr_main_url_root, 8);
|
$uri = substr($dolibarr_main_url_root, 8);
|
||||||
}
|
}
|
||||||
|
$pos = strstr ($uri, '/');
|
||||||
$pos = substr(strstr ($uri, '/'), 1);
|
if ($pos == '/')
|
||||||
|
{
|
||||||
|
$pos = '';
|
||||||
|
}
|
||||||
define('DOL_URL_ROOT', $pos);
|
define('DOL_URL_ROOT', $pos);
|
||||||
|
|
||||||
require (DOL_DOCUMENT_ROOT."/conf/conf.class.php3");
|
require (DOL_DOCUMENT_ROOT."/conf/conf.class.php3");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user