Move teams.pass to a writable directory
This commit is contained in:
parent
1c7c45ea56
commit
b8708408c0
@ -87,10 +87,10 @@ if (!empty($_FILES["inputFile"]['tmp_name']))
|
||||
$output .= new_client($team->team_name, $misc_dir);
|
||||
}
|
||||
}
|
||||
if (file_exists("$misc_dir/teams.pass"))
|
||||
if (file_exists("$misc_dir/PKI/teams.pass"))
|
||||
{
|
||||
$output .= file_get_contents("$misc_dir/teams.pass");
|
||||
unlink("$misc_dir/teams.pass");
|
||||
$output .= file_get_contents("$misc_dir/PKI/teams.pass");
|
||||
unlink("$misc_dir/PKI/teams.pass");
|
||||
}
|
||||
$template->assign("output", $output);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user