summaryrefslogtreecommitdiff
path: root/templates/gitweb.conf.erb
blob: 0100e3de769a3e3685a18b49cf6963595638729d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# path to git projects (<project>.git)
$projectroot = "<%= project_root %>";

# directory to use for temp files
$git_temp = "/tmp";

# target of the home link on top of all pages
#$home_link = $my_uri || "/";

# html text to include at home page
$home_text = "indextext.html";

# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;

# stylesheet to use
#$stylesheet = ("static/gitweb.css");

# logo to use
#$logo = "static/git-logo.png";

# the 'favicon'
#$favicon = "static/git-favicon.png";

# --------------------------------------------
# We're on gitolite v2, be careful!

# finally the user name
$ENV{GL_USER} = $cgi->remote_user || "gitweb";

our $export_ok = "git-daemon-export-ok";
$strict_export = true;