Allow project configuration using globs/wildcards.
[viewgit.git] / inc / config.php
blobdc067e2335fe999ae5492250b8edc732403fc935
1 <?php
2 /** @file
3 * Configuration file for viewgit.
5 * @note DO NOT EDIT THIS FILE. Create localconfig.php instead and override the settings in it.
6 */
7 $conf['projects'] = array(
8 // 'name' => array('repo' => '/path/to/repo'),
9 );
11 // If set, contains an array of globs/wildcards where to include projects.
12 // Use this if you have a lot of projects under a directory.
13 //$conf['projects_globs'] = array('/path/to/*/.git', '/var/git/*.git');
15 $conf['datetime'] = '%Y-%m-%d %H:%M:%S';
17 // Maximum length of commit message's first line to show
18 $conf['commit_message_maxlen'] = 50;
20 // Maximum number of shortlog entries to show on the summary page
21 $conf['summary_shortlog'] = 30;
23 // Allow checking out projects via "git clone"
24 $conf['allow_checkout'] = true;
26 // RSS time to live (how often clients should update the feed), in minutes.
27 $conf['rss_ttl'] = 10;
29 // RSS: Maximum number of items in feed
30 $conf['rss_max_items'] = 30;
32 // RSS item format. Allowed formatting:
33 // {AUTHOR}, {SHORTLOG}, {LOG}, {COMMITTER}
34 $conf['rss_item_title'] = '{SHORTLOG} ({AUTHOR})';
35 $conf['rss_item_description'] = '{LOG}<br /><br /> <b>{AUTHOR}</b> &lt;{AUTHOR_MAIL}&gt;';
37 include_once('localconfig.php');