summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 987520d2cf..fc33a15a0e 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -88,8 +88,8 @@ static void show_parameter(int snum, struct parm_struct *parm)
ptr = lp_local_ptr(snum, ptr);
}
- printf("<tr><td><A HREF=\"help/parameters.html#%s\">?</A> %s</td><td>",
- parm->label, parm->label);
+ printf("<tr><td><A HREF=\"%shelp/parameters.html#%s\">?</A> %s</td><td>",
+ cgi_rooturl(), parm->label, parm->label);
switch (parm->type) {
case P_CHAR: