From 49c8a5b3c7d7b5d34a060bd040e60e4a7e1696b0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 14 Sep 2012 08:03:55 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=26112 --- html/user/submit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)
";