Make some changes on chrono
This commit is contained in:
parent
83c61f6fe4
commit
363ba3325a
5 changed files with 23 additions and 11 deletions
|
|
@ -9,7 +9,7 @@ if (count($p) > 2)
|
|||
switch($p[2])
|
||||
{
|
||||
case "start":
|
||||
file_put_contents($VAR["misc_dir"]."/challenge_started", time() + 42);
|
||||
file_put_contents($VAR["misc_dir"]."/challenge_started", time() + (intval($_POST["time"]) - 240) * 60);
|
||||
break;
|
||||
|
||||
case "init":
|
||||
|
|
|
|||
Reference in a new issue