Merge pull request #7481 from dolibarr95/patch-17

Fix 7470
This commit is contained in:
Laurent Destailleur 2017-09-25 11:34:00 +02:00 committed by GitHub
commit 53d931dd11

View File

@ -287,6 +287,8 @@ class Conf
if (! empty($this->modules_parts['dir'])) if (! empty($this->modules_parts['dir']))
{ {
foreach($this->modules_parts['dir'] as $module => $dirs) foreach($this->modules_parts['dir'] as $module => $dirs)
{
if (! empty($this->$module->enabled))
{ {
foreach($dirs as $type => $name) foreach($dirs as $type => $name)
{ {
@ -300,6 +302,7 @@ class Conf
} }
} }
} }
}
// For mycompany storage // For mycompany storage
$this->mycompany->dir_output=$rootfordata."/mycompany"; $this->mycompany->dir_output=$rootfordata."/mycompany";