version 4.9, 2019/11/26 10:58:15 |
version 4.10, 2019/11/26 11:08:16 |
Line 511 $ENV{CVSREADONLYFS} = 1 unless exists($ENV{CVSREADONLY |
|
Line 511 $ENV{CVSREADONLYFS} = 1 unless exists($ENV{CVSREADONLY |
|
# |
# |
#$DEBUG = 1; |
#$DEBUG = 1; |
|
|
# Enable this to let CVSweb load extra configuration files from the "conf.d" |
|
# subdirectory of the directory this file is located in. This enables site |
|
# specific configuration without having to modify this "master" configuration |
|
# file (except for enabling this functionality below :) |
|
# |
|
if (0) { |
|
my $confdir = catdir(dirname(__FILE__), 'conf.d'); |
|
if (opendir(CONFD, $confdir)) { |
|
my @files = sort(map(catfile($confdir, $_), readdir(CONFD))); |
|
close(CONFD); |
|
for my $conffile (grep(-f && -r _, @files)) { |
|
($conffile) = ($conffile =~ /(.+\.conf)$/) or next; |
|
do "$conffile" or config_error($conffile, $@); |
|
} |
|
} |
|
} |
|
|
|
1; |
1; |
|
|
# EOF |
# EOF |