Fix: regression and use an exist alternative root
This commit is contained in:
parent
df032c618b
commit
3215ae4df9
@ -159,7 +159,14 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
{
|
{
|
||||||
$rowspan++;
|
$rowspan++;
|
||||||
|
|
||||||
|
if(file_exists(DOL_DOCUMENT_ROOT.'/multicompany/class/actions_multicompany.class.php'))
|
||||||
|
{
|
||||||
$res=@include_once(DOL_DOCUMENT_ROOT.'/multicompany/class/actions_multicompany.class.php');
|
$res=@include_once(DOL_DOCUMENT_ROOT.'/multicompany/class/actions_multicompany.class.php');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$res=@include_once(DOL_DOCUMENT_EXTMODULE.'/multicompany/class/actions_multicompany.class.php');
|
||||||
|
}
|
||||||
if ($res)
|
if ($res)
|
||||||
{
|
{
|
||||||
$mc = new ActionsMulticompany($db);
|
$mc = new ActionsMulticompany($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user