]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: require $ENV{'GITWEB_CONFIG'}
[Gitweb] / gitweb.perl
index 92b96af09dd6ac7a350606be795f7f640655fc587f2dc04c8464efad4ff161fd..db2bb7e0885759be20623d4b501b1f48806138482acde20a4ae8ef4b193a068e 100755 (executable)
@@ -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
This page took 0.125823 seconds and 4 git commands to generate.