summaryrefslogtreecommitdiff
path: root/ui_70-shared.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-30 06:58:49 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-30 06:58:49 +0100
commitee667540e07eaffaed612e8ca8572611ea1f42d9 (patch)
tree17ca186b87b06045eb85f7b8eadc0cb0b8fc3daa /ui_70-shared.c
parentd466dfc252f9896b1d6bdce623067378e04b8e71 (diff)
fixed repolist
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r--ui_70-shared.c6
1 files changed, 3 insertions, 3 deletions
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)