fix module info
This commit is contained in:
parent
d5d26b74f8
commit
01ead0c97a
@ -93,12 +93,16 @@ class dcPackman
|
||||
$themes->requireDefine($cache, $zip_root_dir);
|
||||
$res[$i] = $themes->getModules($zip_root_dir);
|
||||
}
|
||||
$res[$i]['id'] = $zip_root_dir;
|
||||
$res[$i]['root'] = $root . '/' . $zip_file;
|
||||
if (is_array($res[$i])) {
|
||||
$res[$i] = array_merge($res[$i], [
|
||||
'id' => $zip_root_dir,
|
||||
'root' => $root . '/' . $zip_file
|
||||
]);
|
||||
|
||||
unlink($cache . '_define.php');
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user