aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorChris Pickel <sfiera@macports.org>2007-09-08 11:39:44 +0200
committerLars Hjemli <hjemli@gmail.com>2007-09-08 11:53:40 +0200
commit898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5 (patch)
tree43c06040109ad8f28ba98aa24feef56a81eda658 /shared.c
parent97ded7c1c37078d34c0213d72777fdff3b6aebda (diff)
downloadcgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.gz
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.bz2
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.zip
Make cgit honor CACHE_ROOT as defined in Makefile
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index cd9d68d..1cd60a2 100644
--- a/shared.c
+++ b/shared.c
@@ -23,7 +23,7 @@ char *cgit_module_link = "./?repo=%s&page=commit&id=%s";
char *cgit_agefile = "info/web/last-modified";
char *cgit_virtual_root = NULL;
char *cgit_script_name = CGIT_SCRIPT_NAME;
-char *cgit_cache_root = "/var/cache/cgit";
+char *cgit_cache_root = CGIT_CACHE_ROOT;
char *cgit_repo_group = NULL;
int cgit_nocache = 0;