New: An external module can add its own menu manager

This commit is contained in:
Laurent Destailleur
2011-01-23 15:08:21 +00:00
parent 6e77cede0e
commit 24ffac6bb6
7 changed files with 70 additions and 56 deletions

View File

@@ -87,7 +87,7 @@ function dol_getprefix()
function dol_include_once($relpath)
{
global $conf,$langs,$user,$mysoc; // Other global var must be retreived with $GLOBALS['var']
return include_once(dol_buildpath($relpath));
return @include_once(dol_buildpath($relpath));
}