|
diff --git a/shared.c b/shared.c index 6b5cfc2..5f2a5ce 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -1,16 +1,24 @@ |
| |
1 | /* shared.c: global vars + some callback functions |
| |
2 | * |
| |
3 | * Copyright (C) 2006 Lars Hjemli |
| |
4 | * |
| |
5 | * Licensed under GNU General Public License v2 |
| |
6 | * (see COPYING for full license text) |
| |
7 | */ |
| |
8 | |
1 | #include "cgit.h" |
9 | #include "cgit.h" |
2 | |
10 | |
3 | char *cgit_root = "/usr/src/git"; |
11 | char *cgit_root = "/usr/src/git"; |
4 | char *cgit_root_title = "Git repository browser"; |
12 | char *cgit_root_title = "Git repository browser"; |
5 | char *cgit_css = "/cgit.css"; |
13 | char *cgit_css = "/cgit.css"; |
6 | char *cgit_logo = "/git-logo.png"; |
14 | char *cgit_logo = "/git-logo.png"; |
7 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; |
15 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; |
8 | char *cgit_virtual_root = NULL; |
16 | char *cgit_virtual_root = NULL; |
9 | |
17 | |
10 | char *cgit_cache_root = "/var/cache/cgit"; |
18 | char *cgit_cache_root = "/var/cache/cgit"; |
11 | |
19 | |
12 | int cgit_max_lock_attempts = 5; |
20 | int cgit_max_lock_attempts = 5; |
13 | int cgit_cache_root_ttl = 5; |
21 | int cgit_cache_root_ttl = 5; |
14 | int cgit_cache_repo_ttl = 5; |
22 | int cgit_cache_repo_ttl = 5; |
15 | int cgit_cache_dynamic_ttl = 5; |
23 | int cgit_cache_dynamic_ttl = 5; |
16 | int cgit_cache_static_ttl = -1; |
24 | int cgit_cache_static_ttl = -1; |
|