init 4chan

This commit is contained in:
skidoodle 2025-04-17 09:20:34 +02:00
commit c850337f1e
No known key found for this signature in database
390 changed files with 195936 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 ));
}
?>