git/server: Set projectroot in environment
This commit is contained in:
parent
9ba2fa35df
commit
eb61bb9448
2 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
# location of git repos
|
||||
our $projectroot = "/srv/git";
|
||||
# read git repo root from env or use default
|
||||
our $projectroot = $ENV{'GITWEB_PROJECTROOT'};
|
||||
|
||||
# site name
|
||||
our $site_name = "foo.sh - Public GIT repositories";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue