summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAdrien Thebo <adrien@puppetlabs.com>2012-03-18 22:14:42 -0700
committerAdrien Thebo <adrien@puppetlabs.com>2012-03-18 22:14:42 -0700
commit4d392ec3685ec0a4b9778834051c65e57f6a19ce (patch)
treeb344f31661bd753954cc296d2705d51b3fb584c6 /templates
parent310948615959c1612da863935976f7d1106c96ec (diff)
Better data handling in gitweb
Diffstat (limited to 'templates')
-rw-r--r--templates/gitweb.conf.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index 0731b69..366c3ce 100644
--- a/templates/gitweb.conf.erb
+++ b/templates/gitweb.conf.erb
@@ -1,5 +1,5 @@
# path to git projects (<project>.git)
-$projectroot = "<%= scope.lookupvar('gitweb::settings::projectroot') %>";
+$projectroot = "<%= project_root %>";
# directory to use for temp files
$git_temp = "/tmp";
@@ -11,7 +11,7 @@ $git_temp = "/tmp";
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
-$projects_list = $projectroot;
+$projects_list = "<%= projects_list %>";
# stylesheet to use
$stylesheet = "/gitweb/gitweb.css";