From 4d392ec3685ec0a4b9778834051c65e57f6a19ce Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Sun, 18 Mar 2012 22:14:42 -0700 Subject: Better data handling in gitweb --- templates/gitweb.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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 (.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"; -- cgit v1.2.3