summaryrefslogtreecommitdiffabout
path: root/shared.c
authorChris Pickel <sfiera@macports.org>2007-09-08 09:39:44 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-09-08 09:53:40 (UTC)
commit898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5 (patch) (side-by-side diff)
tree43c06040109ad8f28ba98aa24feef56a81eda658 /shared.c
parent97ded7c1c37078d34c0213d72777fdff3b6aebda (diff)
downloadcgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.zip
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.gz
cgit-898f5f89d3e2c6100f7e0ab6fc4a200b8fc75bb5.tar.bz2
Make cgit honor CACHE_ROOT as defined in Makefile
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'shared.c') (more/less context) (show whitespace changes)
-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
@@ -2,49 +2,49 @@
*
* Copyright (C) 2006 Lars Hjemli
*
* Licensed under GNU General Public License v2
* (see COPYING for full license text)
*/
#include "cgit.h"
struct repolist cgit_repolist;
struct repoinfo *cgit_repo;
int cgit_cmd;
const char *cgit_version = CGIT_VERSION;
char *cgit_root_title = "Git repository browser";
char *cgit_css = "/cgit.css";
char *cgit_logo = "/git-logo.png";
char *cgit_index_header = NULL;
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_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;
int cgit_snapshots = 0;
int cgit_enable_index_links = 0;
int cgit_enable_log_filecount = 0;
int cgit_enable_log_linecount = 0;
int cgit_max_lock_attempts = 5;
int cgit_cache_root_ttl = 5;
int cgit_cache_repo_ttl = 5;
int cgit_cache_dynamic_ttl = 5;
int cgit_cache_static_ttl = -1;
int cgit_cache_max_create_time = 5;
int cgit_summary_log = 0;
int cgit_max_msg_len = 60;
int cgit_max_repodesc_len = 60;
int cgit_max_commit_count = 50;
int cgit_query_has_symref = 0;
int cgit_query_has_sha1 = 0;
char *cgit_querystring = NULL;
char *cgit_query_repo = NULL;