mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Changes API.
This commit is contained in:
parent
d6c5696f96
commit
811994423d
7 changed files with 248 additions and 246 deletions
|
@ -21,4 +21,12 @@ normalized_require_once("/server/php/inc/Entry.php");
|
|||
|
||||
$APP = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF);
|
||||
|
||||
if (array_key_exists("api", $_REQUEST)) {
|
||||
|
||||
use_request_params("api");
|
||||
normalized_require_once("/server/php/inc/Api.php");
|
||||
$api = new Api($APP);
|
||||
$api->apply();
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue