Initiated update-mechanic, minor fixes
This commit is contained in:
@ -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);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user