This commit is contained in:
Laurent Destailleur 2010-06-07 23:47:12 +00:00
parent 324fff27a8
commit b18920de44

View File

@ -157,7 +157,7 @@ class Conf
} }
} }
// If this is constant for a smarty need by a module // If this is constant for a smarty need by a module
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_NEEDSMARTY$/i',$key)) elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_NEEDSMARTY$/i',$key,$reg))
{ {
$module=strtolower($reg[1]); $module=strtolower($reg[1]);
// Add this module in list of modules that need smarty // Add this module in list of modules that need smarty