<?php
-include_once __DIR__ . "/../../vendor/autoload.php";
+require_once __DIR__ . "/_prepend.php";
use PhpXmlRpc\Value;
}
}
+// NB: take care not to output anything else after this call, as it will mess up the responses and it will be hard to
+// debug. In case you have to do so, at least re-emit a correct Content-Length http header (requires output buffering)
+
$srv = new PhpXmlRpc\Server(array(
"discuss.addComment" => array(
"function" => "addComment",
"docstring" => $getComments_doc,
),
));
+
+require_once __DIR__ . "/_append.php";