mirror of
https://git.zx2c4.com/cgit
synced 2025-06-24 18:58:39 +02:00
Don't hardcode urls when SCRIPT_NAME is available
Also, let the makefile define the name of the installed cgi and use that definition as a default value for cgit_script_name variable. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
6fb7d09fea
commit
ea2831f1c8
5 changed files with 9 additions and 4 deletions
2
shared.c
2
shared.c
|
@ -17,7 +17,7 @@ char *cgit_logo = "/git-logo.png";
|
|||
char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/";
|
||||
char *cgit_module_link = "./?repo=%s&page=commit&id=%s";
|
||||
char *cgit_virtual_root = NULL;
|
||||
|
||||
char *cgit_script_name = CGIT_SCRIPT_NAME;
|
||||
char *cgit_cache_root = "/var/cache/cgit";
|
||||
|
||||
int cgit_nocache = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue