はじまりの大地

This commit is contained in:
miteruzo
2024-07-08 03:32:47 +09:00
commit c616a96f53
7749 changed files with 478270 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
use dokuwiki\Remote\JsonRpcServer;
if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/../../');
require_once(DOKU_INC . 'inc/init.php');
session_write_close(); //close session
header('Content-Type: application/json');
$server = new JsonRpcServer();
try {
$result = $server->serve();
} catch (\Exception $e) {
$result = $server->returnError($e);
}
echo json_encode($result, JSON_THROW_ON_ERROR);