// small fix

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

View File

@@ -1309,6 +1309,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();