diff --git a/system/api.php b/system/api.php index 08ab560..2a8a3ec 100644 --- a/system/api.php +++ b/system/api.php @@ -1463,7 +1463,7 @@ function write_data_control(){ function read_data(){ global $USER_DB; //指定类型限制仅root账号可用! - if(in_array($USER_DB['UserGroup'] != 'root' && $_GET['type'],['diagnostic_log','connectivity_test','phpinfo'])){ + if($USER_DB['UserGroup'] != 'root' && in_array( $_GET['type'],['diagnostic_log','connectivity_test','phpinfo'])){ msg(-1,'无权限'); } diff --git a/system/version.txt b/system/version.txt index 11b8217..b2d5e19 100644 --- a/system/version.txt +++ b/system/version.txt @@ -1 +1 @@ -v2.0.30-20230712 \ No newline at end of file +v2.0.30-20230713 \ No newline at end of file diff --git a/templates/admin/page/updatelog.php b/templates/admin/page/updatelog.php index 5c60393..548076b 100644 --- a/templates/admin/page/updatelog.php +++ b/templates/admin/page/updatelog.php @@ -5,7 +5,7 @@