diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-07-29 16:33:26 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-07-29 16:33:26 +0100 |
commit | d466dfc252f9896b1d6bdce623067378e04b8e71 (patch) | |
tree | 2998cb69b9c790457f58556dd30d80b4a605c341 /ui_70-shared.c | |
parent | af460536388cc279d94194a57452a445b0e82cbb (diff) |
added my name to copyright statements -- few tweaks
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r-- | ui_70-shared.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui_70-shared.c b/ui_70-shared.c index 3262320..a1b98b7 100644 --- a/ui_70-shared.c +++ b/ui_70-shared.c @@ -1,8 +1,11 @@ -/* -* -* Gopher-related functions -* -*/ +/* ui-shared.c: common web output functions + * + * Copyright (C) 2006-2017 cgit Development Team <cgit@lists.zx2c4.com> + * 2018 Vincenzo 'KatolaZ' Nicosia <katolaz@freaknet.org> + * + * Licensed under GNU General Public License v2 + * (see COPYING for full license text) + */ #include <stdio.h> #include "cgit.h" @@ -244,7 +247,7 @@ const char *cgit_rooturl(void) if (ctx.cfg.virtual_root) return ctx.cfg.virtual_root; else - return ctx.cfg.script_name; + return fmtalloc("/%s", ctx.cfg.script_name); } const char *cgit_loginurl(void) |