X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/c4e7b67e5cfa9b090705cfcea7740469b5cab41fe99d6ec09bfc7b276478a18e..cdc91c717a2ad425aa9013e33a698ae5c8308935d1662a69c791d70806d63541:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 92b96af..db2bb7e 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -60,7 +60,7 @@ our $default_text_plain_charset = undef; # (relative to the current git repository) our $mimetypes_file = undef; -our $GITWEB_CONFIG = "@@GITWEB_CONFIG@@"; +our $GITWEB_CONFIG = $ENV{'GITWEB_CONFIG'} || "@@GITWEB_CONFIG@@"; require $GITWEB_CONFIG if -e $GITWEB_CONFIG; # version of the core git binary