// small fix

This commit is contained in:
Rémi Gaillard
2013-11-04 17:22:08 +01:00
parent c452444620
commit f4740088c1
2 changed files with 9 additions and 2 deletions

View File

@@ -1296,6 +1296,9 @@ abstract class ModuleCore
public static function getNativeModuleList()
{
$module_list_xml = _PS_ROOT_DIR_.self::CACHE_FILE_MODULES_LIST;
if (!file_exists($module_list_xml))
return false;
$native_modules = simplexml_load_file($module_list_xml);
$native_modules = $native_modules->modules;
$modules = array();