summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-14 04:20:55 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-14 04:20:55 +0000
commit030923028009e5ef9d988f6d65922fac7a7635d5 (patch)
tree73c3baaffcaec0d8423f435936fad70b33fd52ad /source3/web
parentd5c1af5d9fb33e42e24dc3f1c0ea235eb1fb904a (diff)
downloadsamba-030923028009e5ef9d988f6d65922fac7a7635d5.tar.gz
samba-030923028009e5ef9d988f6d65922fac7a7635d5.tar.bz2
samba-030923028009e5ef9d988f6d65922fac7a7635d5.zip
another fix for running under cgi-bin
(This used to be commit 6e2248532a063a83b682c967a65377488810f9eb)
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: