fix : Warning: Constant DOL_URL_ROOT already defined in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/filemanagerdol/connectors/php/config.inc.php on line 40
This commit is contained in:
parent
c2f79dfd7a
commit
c266681379
@ -37,7 +37,7 @@ $pos = strstr($uri, '/'); // $pos contient alors url sans nom domaine
|
|||||||
if ($pos == '/') {
|
if ($pos == '/') {
|
||||||
$pos = ''; // si $pos vaut /, on le met a ''
|
$pos = ''; // si $pos vaut /, on le met a ''
|
||||||
}
|
}
|
||||||
define('DOL_URL_ROOT', $pos);
|
//define('DOL_URL_ROOT', $pos);
|
||||||
$entity = ((!empty($_SESSION['dol_entity']) && $_SESSION['dol_entity'] > 1) ? $_SESSION['dol_entity'] : null);
|
$entity = ((!empty($_SESSION['dol_entity']) && $_SESSION['dol_entity'] > 1) ? $_SESSION['dol_entity'] : null);
|
||||||
|
|
||||||
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
|
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user