X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fmanual-override.pl;fp=www%2Fmanual-override.pl;h=13333524a91b7a78eea44e067e17a015bd5d0a7e;hb=a8232b6fe329655d8744bdc6873cd7ca8cb66d21;hp=ed474fffafb2f80180168dc8d30ffc1d16a0c6c8;hpb=a17a37873dc11a9fb6f030f12f1467904f116295;p=remoteglot diff --git a/www/manual-override.pl b/www/manual-override.pl index ed474ff..1333352 100755 --- a/www/manual-override.pl +++ b/www/manual-override.pl @@ -27,7 +27,7 @@ $dbh->do('INSERT INTO game_extensions ( fen, history, player_w, player_b, ts, ne Encode::decode_utf8($cgi->param('player_w')), Encode::decode_utf8($cgi->param('player_b')), Encode::decode_utf8($cgi->param('move'))); -system("sudo", "touch", $remoteglotconf::json_output); +system("sudo", "touch", $remoteglotconf::target); print CGI->header(-type=>'text/plain; charset=utf-8'); print "OK\n";