initial commit

This commit is contained in:
2025-04-26 11:21:01 -04:00
commit 64f56c2711
391 changed files with 196409 additions and 0 deletions

14
lib/json.php Normal file
View File

@ -0,0 +1,14 @@
<?
function json_for_post($board, $post) {
global $in_imgboard;
$in_imgboard = true;
include_once "/www/global/yotsuba/json.php";
$extra = array();
$post['board'] = $board;
return json_encode(generate_post_json( $post, $post['resto'] ? $post['resto'] : $post['no'], $extra, true ));
}
?>