From ee667540e07eaffaed612e8ca8572611ea1f42d9 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 30 Jul 2018 06:58:49 +0100 Subject: fixed repolist --- ui_70-shared.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui_70-shared.c') diff --git a/ui_70-shared.c b/ui_70-shared.c index a1b98b7..02376b2 100644 --- a/ui_70-shared.c +++ b/ui_70-shared.c @@ -244,10 +244,10 @@ char *cgit_currenturl(void) const char *cgit_rooturl(void) { - if (ctx.cfg.virtual_root) +/* if (ctx.cfg.virtual_root) return ctx.cfg.virtual_root; - else - return fmtalloc("/%s", ctx.cfg.script_name); + else*/ + return fmtalloc("/%s", ctx.cfg.script_name); } const char *cgit_loginurl(void) -- cgit v1.2.3