diff --git a/html/user/submit.php b/html/user/submit.php index 9ab6877fa7..8496d89a88 100644 --- a/html/user/submit.php +++ b/html/user/submit.php @@ -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(), ""); + $path = dir_hier_path($name, $upload_dir, $fanout); $s = stat($path); $size = $s['size']; echo "$name (".number_format($size)." bytes)
";