forked from Wavyzz/dolibarr
Fix: Fix a lot of regression. There still a lot of new bugs to fix (like compatibility through proxy, or restore performance by avoiding huge number of fil_exists).
This commit is contained in:
@@ -159,14 +159,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
||||
{
|
||||
$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');
|
||||
}
|
||||
else
|
||||
{
|
||||
$res=@include_once(DOL_DOCUMENT_EXTMODULE.'/multicompany/class/actions_multicompany.class.php');
|
||||
}
|
||||
$res=dol_include_once('/multicompany/class/actions_multicompany.class.php');
|
||||
if ($res)
|
||||
{
|
||||
$mc = new ActionsMulticompany($db);
|
||||
|
||||
Reference in New Issue
Block a user