<?php
$state = json_decode(file_get_contents("state.json"), true);
$state["switch"] = 1;
file_put_contents("state.json", json_encode($state));
exit;
?>