Initiated update-mechanic, minor fixes

This commit is contained in:
2025-06-20 18:06:57 +02:00
parent caa4142aa7
commit 2ac79b66db
6 changed files with 978 additions and 868 deletions

View File

@ -1,6 +1,5 @@
<?php
require_once('state.php');
$input = json_decode(file_get_contents('php://input'), true);
if ($input) {
file_put_contents('/home/surillya/.thos_state.json', json_encode($input));
}
if ($input) thos_save_state($input);
?>