// Improve performance and bug fixes

This commit is contained in:
rGaillard committed 2012-06-06 16:22:48 +00:00
1 parent e636665621
commit 99b22fbbb8
32 files changed
+97 -66

No files matched your search

+2
View File
@@ -837,6 +837,8 @@ abstract class ModuleCore
*/
public static function getInstanceByName($module_name)
{
if (!Validate::isModuleName($module_name))
die(Tools::displayErrors());
if (!isset(self::$_INSTANCE[$module_name]))
{
if (Tools::file_exists_cache(_PS_MODULE_DIR_.$module_name.'/'.$module_name.'.php'))