|
@@ -128,15 +128,11 @@ class SettingController extends AdminBaseController
|
|
|
$routeModel->getRoutes(true);
|
|
|
|
|
|
if (!empty($adminSettings['admin_theme'])) {
|
|
|
- $result = cmf_set_dynamic_config([
|
|
|
+ cmf_set_dynamic_config([
|
|
|
'template' => [
|
|
|
'cmf_admin_default_theme' => $adminSettings['admin_theme']
|
|
|
]
|
|
|
]);
|
|
|
-
|
|
|
- if ($result === false) {
|
|
|
- $this->error('配置写入失败!');
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
cmf_set_option('admin_settings', $adminSettings);
|