1、编辑器

2、addons的一个bug
This commit is contained in:
2016-12-21 13:26:44 +08:00
parent 1cf7ebb77e
commit 9a8bedbf14
314 changed files with 100539 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ class Addons extends Base {
if ($config) {
$config = json_decode($config, true);
} else {
$config = array();
$temp_arr = include $this->config_file;
foreach ($temp_arr as $key => $value) {
if ($value['type'] == 'group') {
@@ -97,7 +98,7 @@ class Addons extends Base {
}
}
} else {
$config[$key] = $temp_arr[$key]['value'];
$config[$key] = $value['value'];
}
}
}