diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-14 13:36:59 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-14 13:36:59 +0000 |
commit | af829015a670ed16ae8c3490a982b5acbab4202a (patch) | |
tree | d9ec625a49489db324ccf23f1a134d4b54685285 | |
parent | 6414274387adaa820f390b2541fac6ff7d322fef (diff) | |
download | mandoc-af829015a670ed16ae8c3490a982b5acbab4202a.tar.gz |
Unbreak man.cgi's css directories when CSS_DIR isn't specified.
-rw-r--r-- | cgi.c | 2 | ||||
-rw-r--r-- | man.cgi.7 | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -946,7 +946,7 @@ main(void) progname = ""; if (NULL == (css = getenv("CSS_DIR"))) - css = "/"; + css = ""; if (NULL == (host = getenv("HTTP_HOST"))) host = "localhost"; @@ -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 |