projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* static.local/ is now created
[citadel.git]
/
webcit
/
webcit.c
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index d61a66a1463b83b5b8581110d8acb905edfd4dd4..803b877f8f2bd281dcfa8b9861fa0b798939c32a 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-429,6
+429,11
@@
void output_headers( int do_httpheaders, /**< 1 = output HTTP headers
if (do_htmlhead) {
begin_burst();
+ if (!access("static.local/webcit.css", R_OK)) {
+ svprintf("CSSLOCAL", WCS_STRING,
+ "<link href=\"static.local/webcit.css\" rel=\"stylesheet\" type=\"text/css\">"
+ );
+ }
do_template("head");
}