// Improve performance and bug fixes
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15882 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
9726f7dfa3
commit
2bce691ae8
32 files changed
+97
-66
No files matched your search
@@ -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'))
|
||||
|
||||
Reference in new issue
Block a user