svn path=/trunk/boinc/; revision=26112

This commit is contained in:
David Anderson 2012-09-14 08:03:55 +00:00
parent 324d582021
commit 49c8a5b3c7
1 changed files with 2 additions and 1 deletions

View File

@ -330,7 +330,8 @@ function handle_query_job($user) {
$i = 0;
foreach ($names as $name) {
$url = boinc_get_output_file_url($user, $result, $i++);
$path = dir_hier_path($name, "../../upload", $fanout);
$upload_dir = parse_config(get_config(), "<upload_dir>");
$path = dir_hier_path($name, $upload_dir, $fanout);
$s = stat($path);
$size = $s['size'];
echo "<a href=$url>$name </a> (".number_format($size)." bytes)<br/>";