Fix: core dir of external modules must be into dir of module.

This commit is contained in:
Laurent Destailleur 2013-02-20 14:58:40 +01:00
parent 3c18696f7e
commit f194ee5363

View File

@ -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;