Fix: core dir of external modules must be into dir of module.
This commit is contained in:
parent
3c18696f7e
commit
f194ee5363
@ -350,7 +350,7 @@ class FormFile
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Generic feature, for external modules
|
// Generic feature, for external modules
|
||||||
$file=dol_buildpath('/core/modules/'.$modulepart.'/modules_'.$modulepart.'.php',0);
|
$file=dol_buildpath('/'.$modulepart.'/core/modules/'.$modulepart.'/modules_'.$modulepart.'.php',0);
|
||||||
if (file_exists($file))
|
if (file_exists($file))
|
||||||
{
|
{
|
||||||
$res=include_once $file;
|
$res=include_once $file;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user