Fix submitted form detection
[girocco/ztw.git] / gitweb_config.perl
blob6143c3cf89e24387a52f08836bfb2230aa2abe64
1 ## core git executable to use
2 ## this can just be "git" if your webserver has a sensible PATH
3 #our $GIT = "/home/pasky/bin/git";
5 ## absolute fs-path which will be prepended to the project path
6 ##our $projectroot = "/pub/scm";
7 #our $projectroot = "/srv/git";
9 ## target of the home link on top of all pages
10 #our $home_link = $my_uri || "/";
12 ## string of the home link on top of all pages
13 #our $home_link_str = "projects";
15 ## name of your site or organization to appear in page titles
16 ## replace this with something more descriptive for clearer bookmarks
17 #our $site_name = "" || $ENV{'SERVER_NAME'} || "Untitled";
18 our $site_name = "Public Gitweb Hosting";
20 ## html text to include at home page
21 #our $home_text = "indextext.html";
23 ## URI of default stylesheet
24 #our $stylesheet = "gitweb.css";
25 our $stylesheet = "/gitweb.css";
26 ## URI of GIT logo
27 #our $logo = "git-logo.png";
28 our $logo = "/git-logo.png";
29 ## URI of GIT favicon, assumed to be image/png type
30 #our $favicon = "git-favicon.png";
31 our $favicon = "/git-favicon.png";
33 ## source of projects list
34 #our $projects_list = "";
36 ## show repository only if this file exists
37 ## (only effective if this variable evaluates to true)
38 #our $export_ok = "";
40 ## only allow viewing of repositories also shown on the overview page
41 #our $strict_export = "";
43 ## list of git base URLs used for URL to where fetch project from,
44 ## i.e. full URL is "$git_base_url/$project"
45 our @git_base_url_list = ("http://repo.or.cz/r", "git://repo.or.cz");
47 ## default blob_plain mimetype and default charset for text/plain blob
48 #our $default_blob_plain_mimetype = 'text/plain';
49 #our $default_text_plain_charset = undef;
51 ## file to use for guessing MIME types before trying /etc/mime.types
52 ## (relative to the current git repository)
53 #our $mimetypes_file = undef;
55 ## You define site-wide feature defaults here; override them with
56 ## $GITWEB_CONFIG as necessary.
57 #our %feature = (
58 # # feature => {
59 # # 'sub' => feature-sub (subroutine),
60 # # 'override' => allow-override (boolean),
61 # # 'default' => [ default options...] (array reference)}
62 # #
63 # # if feature is overridable (it means that allow-override has true value,
64 # # then feature-sub will be called with default options as parameters;
65 # # return value of feature-sub indicates if to enable specified feature
66 # #
67 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
69 # 'blame' => {
70 # 'sub' => \&feature_blame,
71 # 'override' => 0,
72 # 'default' => [0]},
74 # 'snapshot' => {
75 # 'sub' => \&feature_snapshot,
76 # 'override' => 0,
77 # # => [content-encoding, suffix, program]
78 # 'default' => ['x-gzip', 'gz', 'gzip']},
80 # 'pickaxe' => {
81 # 'sub' => \&feature_pickaxe,
82 # 'override' => 0,
83 # 'default' => [1]},
84 #);
85 $feature{'blame'}{'default'} = [1];
86 $feature{'pathinfo'}{'default'} = [1];
87 $my_uri = 'http://repo.or.cz/gitweb.cgi';