Subversion Repositories RepoView

Rev

Rev 24 | Rev 37 | 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 27 2024-08-21 17:26:30Z 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
 
57
/* My Page for the modern theme.*/
58
/* Requires USE_GRAPHICSMAGICK and USE_LIBPNG to be defined. */
59
#define USE_MYPAGE
60
 
1 nishi 61
/* PATH, uses PATH from environment automatically if not defined. */
62
#undef USE_PATH
63
 
64
/* SVN filesystem root. */
15 nishi 65
#define SVN_ROOT 		"/www/svn"
1 nishi 66
 
67
/* Database root. */
15 nishi 68
#define DB_ROOT			"/www/db"
1 nishi 69
 
70
/* Apache htpasswd file. */
15 nishi 71
#define APACHE_PASSWD		"/www/passwd"
1 nishi 72
 
8 nishi 73
/* Apache authz file. */
15 nishi 74
#define APACHE_AUTHZ 		"/www/authz"
8 nishi 75
 
15 nishi 76
/* Subversion root on the HTTP. */
77
#define WWW_SVN_ROOT		"/svn/"
78
 
1 nishi 79
#endif
80
 
81
/*
82
vim: syntax=c
83
*/