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

@ -15,9 +15,9 @@ $template = new Template();
$template->assign("ERRmessage", false);
if (is_file($VAR["misc_dir"]."/challenge_started"))
if (is_file($VAR["misc_dir"]."/shared/challenge_started"))
{
$VAR["start_challenge"] = intval(file_get_contents($VAR["misc_dir"]."/challenge_started"));
$VAR["start_challenge"] = intval(file_get_contents($VAR["misc_dir"]."/shared/challenge_started"));
$VAR["end_challenge"] = $VAR["start_challenge"] + 14400;
$template->assign("END", $VAR['end_challenge']);
}