diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 00:48:31 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 00:48:31 +0200 |
commit | ea2831f1c826d92c0158474c2d07837ec2f9fd6c (patch) | |
tree | e8d6a89bf0f50835f9c86dd642e7906e1d050df7 /cgit.h | |
parent | ui-shared.c: fix whitespace breakage (diff) | |
download | cgit-pink-ea2831f1c826d92c0158474c2d07837ec2f9fd6c.tar.gz cgit-pink-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 'cgit.h')
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h index 0fff7b0..f5906ad 100644 --- a/cgit.h +++ b/cgit.h @@ -75,6 +75,7 @@ extern char *cgit_logo; extern char *cgit_logo_link; extern char *cgit_module_link; extern char *cgit_virtual_root; +extern char *cgit_script_name; extern char *cgit_cache_root; extern int cgit_nocache; |