Subversion Repositories RepoView

Rev

Rev 27 | Rev 38 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
/*
2
 * $Id: config.h.tmpl 37 2024-08-22 03:02:58Z nishi $
3
 *
4
 * This is the config.h template.
5
 */
6
 
7
#ifndef __CONFIG_H__
8
#define __CONFIG_H__
9
 
10
/* Your instance name. */
15 nishi 11
#define INSTANCE_NAME		"Unnamed"
1 nishi 12
 
13
/* Admin name/email. */
15 nishi 14
#define INSTANCE_ADMIN		"John Doe <john.doe@example.com>"
1 nishi 15
 
16
/* Instance Root. */
15 nishi 17
#define INSTANCE_ROOT		"/cgi-bin"
1 nishi 18
 
19
/* Instance Logo. */
15 nishi 20
#define INSTANCE_LOGO		"/logo.png"
1 nishi 21
 
6 nishi 22
/* Image to be put in the navbar, for the modern theme. 940x60 should be good. */
15 nishi 23
#define INSTANCE_NAVBAR		"/paper.png"
6 nishi 24
 
25
/* Navbar repeat, for the modern theme. */
15 nishi 26
#define INSTANCE_REPEAT		"resize-x"
6 nishi 27
 
17 nishi 28
/* Banners, for the modern theme. */
15 nishi 29
#define INSTANCE_BANNERS	"<img src=\"http://netbsd.org/images/logos/pnetbsd.gif\" width=\"88px\" height=\"31px\">"
30
 
10 nishi 31
/* Repository/User delimeter. This character will be unusable in the username/repository name. */
15 nishi 32
#define REPO_USER_DELIM		'-'
10 nishi 33
 
1 nishi 34
/* Theme. */
35
#define USE_MODERN
36
 
13 nishi 37
/* Use Enscript or not. */
38
#define USE_ENSCRIPT
39
 
40
/* Allow Signup or not. */
41
#define ALLOW_SIGNUP
42
 
1 nishi 43
/* Database type. */
44
#define USE_SQLITE
45
#undef USE_GDBM
46
#undef USE_NDBM
47
 
48
/* Authentication type. */
49
#define USE_COOKIE
50
 
24 nishi 51
/* Use GraphicsMagick or not. */
52
#define USE_GRAPHICSMAGICK
23 nishi 53
 
27 nishi 54
/* Use libpng or not. */
55
#define USE_LIBPNG
56
 
37 nishi 57
/* Use avatar or not. */
58
/* Required USE_LIBPNG to be defined. */
59
#define USE_AVATAR
60
 
27 nishi 61
/* My Page for the modern theme.*/
37 nishi 62
/* Requires USE_GRAPHICSMAGICK, USE_LIBPNG, USE_AVATAR to be defined. */
27 nishi 63
#define USE_MYPAGE
64
 
1 nishi 65
/* PATH, uses PATH from environment automatically if not defined. */
66
#undef USE_PATH
67
 
68
/* SVN filesystem root. */
15 nishi 69
#define SVN_ROOT 		"/www/svn"
1 nishi 70
 
71
/* Database root. */
15 nishi 72
#define DB_ROOT			"/www/db"
1 nishi 73
 
74
/* Apache htpasswd file. */
15 nishi 75
#define APACHE_PASSWD		"/www/passwd"
1 nishi 76
 
8 nishi 77
/* Apache authz file. */
15 nishi 78
#define APACHE_AUTHZ 		"/www/authz"
8 nishi 79
 
15 nishi 80
/* Subversion root on the HTTP. */
81
#define WWW_SVN_ROOT		"/svn/"
82
 
1 nishi 83
#endif
84
 
85
/*
86
vim: syntax=c
87
*/