From f194ee5363329b37541ed30098acdbf5832fe333 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 20 Feb 2013 14:58:40 +0100 Subject: [PATCH] Fix: core dir of external modules must be into dir of module. --- htdocs/core/class/html.formfile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 525b163d994..97ae273bcc9 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -350,7 +350,7 @@ class FormFile else { // 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)) { $res=include_once $file;