Update api.php

This commit is contained in:
Ren Baoshuo 2020-08-02 00:17:12 +08:00 committed by GitHub
parent 3e368f1e61
commit e87cd6edd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
// 引入类
require_once('../inc/require.php');
global $config;
if($config['api']) {
$url_c = new url();
$opt = [];
@ -26,4 +27,5 @@
}
// 输出
echo json_encode($opt);
}
?>