diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -142,7 +142,7 @@ static void config_cb(const char *name, const char *value) | |||
142 | else if (!strcmp(name, "root-readme")) | 142 | else if (!strcmp(name, "root-readme")) |
143 | ctx.cfg.root_readme = xstrdup(value); | 143 | ctx.cfg.root_readme = xstrdup(value); |
144 | else if (!strcmp(name, "css")) | 144 | else if (!strcmp(name, "css")) |
145 | ctx.cfg.css = xstrdup(value); | 145 | string_list_append(&ctx.cfg.css, xstrdup(value)); |
146 | else if (!strcmp(name, "favicon")) | 146 | else if (!strcmp(name, "favicon")) |
147 | ctx.cfg.favicon = xstrdup(value); | 147 | ctx.cfg.favicon = xstrdup(value); |
148 | else if (!strcmp(name, "footer")) | 148 | else if (!strcmp(name, "footer")) |
@@ -378,7 +378,6 @@ static void prepare_context(void) | |||
378 | ctx.cfg.case_sensitive_sort = 1; | 378 | ctx.cfg.case_sensitive_sort = 1; |
379 | ctx.cfg.branch_sort = 0; | 379 | ctx.cfg.branch_sort = 0; |
380 | ctx.cfg.commit_sort = 0; | 380 | ctx.cfg.commit_sort = 0; |
381 | ctx.cfg.css = "/cgit.css"; | ||
382 | ctx.cfg.logo = "/cgit.png"; | 381 | ctx.cfg.logo = "/cgit.png"; |
383 | ctx.cfg.favicon = "/favicon.ico"; | 382 | ctx.cfg.favicon = "/favicon.ico"; |
384 | ctx.cfg.local_time = 0; | 383 | ctx.cfg.local_time = 0; |