gitweb: require $ENV{'GITWEB_CONFIG'}
[gitweb.git] / gitweb / gitweb.perl
index d5b2de8b3afb9bfb8d3551cc3ef0c727300b93b9..b5548ec8f1460a251905bfcdd12f7aa9cbf44003 100755 (executable)
@@ -60,7 +60,7 @@
 # (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