diff options
author | Lars Hjemli | 2007-05-15 00:48:31 +0200 |
---|---|---|
committer | Lars Hjemli | 2007-05-15 00:48:31 +0200 |
commit | ea2831f1c826d92c0158474c2d07837ec2f9fd6c (patch) | |
tree | e8d6a89bf0f50835f9c86dd642e7906e1d050df7 /shared.c | |
parent | 6fb7d09fea94b3dd6932469283358cb24f1e7e29 (diff) | |
download | cgit-ea2831f1c826d92c0158474c2d07837ec2f9fd6c.tar.gz cgit-ea2831f1c826d92c0158474c2d07837ec2f9fd6c.tar.bz2 cgit-ea2831f1c826d92c0158474c2d07837ec2f9fd6c.zip |
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>
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ char *cgit_logo = "/git-logo.png"; | |||
17 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; | 17 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; |
18 | char *cgit_module_link = "./?repo=%s&page=commit&id=%s"; | 18 | char *cgit_module_link = "./?repo=%s&page=commit&id=%s"; |
19 | char *cgit_virtual_root = NULL; | 19 | char *cgit_virtual_root = NULL; |
20 | 20 | char *cgit_script_name = CGIT_SCRIPT_NAME; | |
21 | char *cgit_cache_root = "/var/cache/cgit"; | 21 | char *cgit_cache_root = "/var/cache/cgit"; |
22 | 22 | ||
23 | int cgit_nocache = 0; | 23 | int cgit_nocache = 0; |