mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-20 17:37:23 +08:00
[admin] add setting backup
This commit is contained in:
@@ -451,7 +451,7 @@ function nexus_json_encode($data)
|
||||
|
||||
function api(...$args)
|
||||
{
|
||||
if (!isset($args[2])) {
|
||||
if (func_num_args() < 3) {
|
||||
//参数少于3个时,默认为错误状态。
|
||||
$ret = -1;
|
||||
$msg = isset($args[0]) ? $args[0] : 'ERROR';
|
||||
|
||||
Reference in New Issue
Block a user