소스 검색

后台配置

linwu 2 년 전
부모
커밋
f140caf2c1
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      vendor/thinkcmf/cmf-app/src/admin/controller/SettingController.php

+ 0 - 3
vendor/thinkcmf/cmf-app/src/admin/controller/SettingController.php

@@ -111,9 +111,6 @@ class SettingController extends AdminBaseController
             cmf_set_option('site_info', $options);
 
             $cmfSettings = $this->request->param('cmf_settings/a');
-
-            $bannedUsernames                 = preg_replace("/[^0-9A-Za-z_\\x{4e00}-\\x{9fa5}-]/u", ",", $cmfSettings['banned_usernames']);
-            $cmfSettings['banned_usernames'] = $bannedUsernames;
             cmf_set_option('cmf_settings', $cmfSettings);
 
             $cdnSettings = $this->request->param('cdn_settings/a');