Remove misc directory

This commit is contained in:
nemunaire 2015-01-13 17:58:33 +01:00 committed by Nemunaire
commit 8cab91f51a
15 changed files with 36 additions and 41 deletions

View file

@ -9,12 +9,12 @@ if (count($p) > 2)
switch($p[2])
{
case "start":
file_put_contents($VAR["misc_dir"]."/challenge_started", time() + (intval($_POST["time"]) - 240) * 60);
file_put_contents($VAR["misc_dir"]."/shared/challenge_started", time() + (intval($_POST["time"]) - 240) * 60);
pipe_backend_scheduler("resetreset:HOME:all:SY");
break;
case "init":
unlink($VAR["misc_dir"]."/challenge_started");
unlink($VAR["misc_dir"]."/shared/challenge_started");
pipe_backend_scheduler("resetreset:HOME:all:SY");
break;
}