diff options
-rw-r--r-- | cgi.c | 4 | ||||
-rw-r--r-- | man.cgi.7 | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.30 2011/12/12 02:00:49 schwarze Exp $ */ +/* $Id: cgi.c,v 1.31 2011/12/14 13:36:59 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -946,7 +946,7 @@ main(void) progname = ""; if (NULL == (css = getenv("CSS_DIR"))) - css = "/"; + css = ""; if (NULL == (host = getenv("HTTP_HOST"))) host = "localhost"; @@ -1,4 +1,4 @@ -.Dd $Mdocdate: December 11 2011 $ +.Dd $Mdocdate: December 14 2011 $ .Dt MAN.CGI 7 .Os .Sh NAME @@ -74,8 +74,10 @@ default. The absolute path of the .Xr catman 8 cache directory. +This must not have a trailing slash. .It Ev CSS_DIR Prepended to CSS file links. +This must not have a trailing slash. .El .Sh FILES .Bl -tag -width Ds |