Remove misc directory
This commit is contained in:
parent
a67912e89e
commit
8cab91f51a
15 changed files with 36 additions and 41 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue