|
@@ -147,7 +147,7 @@ class ModuleService extends Service
|
|
|
$vars = $this->_getModuleVersion($name);
|
|
|
if (is_array($vars) && isset($vars['version']) && preg_match('|^\d{4}\.\d{2}\.\d{2}\.\d{2}$|', $vars['version'])) {
|
|
|
$data[$name] = array_merge($vars, ['change' => []]);
|
|
|
- foreach ($service->scanDirectory($this->_getModulePath($name) . '/module/change/', [], 'md') as $file) {
|
|
|
+ foreach ($service->scanDirectory($this->_getModulePath($name) . 'change/', [], 'md') as $file) {
|
|
|
$data[$name]['change'][pathinfo($file, PATHINFO_FILENAME)] = Parsedown::instance()->parse(file_get_contents($file));
|
|
|
}
|
|
|
}
|