version 4.6, 2019/11/11 13:28:36 |
version 4.7, 2019/11/11 14:37:54 |
|
|
# cvs, rlog, rcsdiff |
# cvs, rlog, rcsdiff |
# gzip (if you enable $allow_compress) |
# gzip (if you enable $allow_compress) |
# (g)tar, zip (if you enable $allow_tar) |
# (g)tar, zip (if you enable $allow_tar) |
# cvsgraph (if you enable $allow_graph) |
|
# enscript (if you enable $allow_enscript) |
# enscript (if you enable $allow_enscript) |
# |
# |
@command_path = qw(/bin /usr/bin /usr/local/bin); |
@command_path = qw(/bin /usr/bin /usr/local/bin); |
|
|
# Search the above directories for each command (prefer gtar over tar). |
# Search the above directories for each command (prefer gtar over tar). |
# |
# |
for (qw(cvs rlog rcsdiff gzip gtar zip cvsgraph enscript)) { |
for (qw(cvs rlog rcsdiff gzip gtar zip enscript)) { |
$CMD{$_} = search_path($_); |
$CMD{$_} = search_path($_); |
} |
} |
$CMD{tar} = delete($CMD{gtar}) if $CMD{gtar}; |
$CMD{tar} = delete($CMD{gtar}) if $CMD{gtar}; |
Line 222 my $iconsdir = '/icons'; |
|
Line 221 my $iconsdir = '/icons'; |
|
dir => [('[DIR]', "$iconsdir/dir.gif", 20, 22)], |
dir => [('[DIR]', "$iconsdir/dir.gif", 20, 22)], |
file => [('[TXT]', "$iconsdir/text.gif", 20, 22)], |
file => [('[TXT]', "$iconsdir/text.gif", 20, 22)], |
binfile => [('[BIN]', "$iconsdir/binary.gif", 20, 22)], |
binfile => [('[BIN]', "$iconsdir/binary.gif", 20, 22)], |
graph => [('[GRAPH]', "$iconsdir/minigraph.png", 16, 16)], |
|
); |
); |
undef $iconsdir; |
undef $iconsdir; |
|
|
Line 469 $use_moddate = 1; |
|
Line 467 $use_moddate = 1; |
|
# Just comment this out if you're not bitten by the problem. |
# Just comment this out if you're not bitten by the problem. |
# |
# |
#$file_list_len = 200; |
#$file_list_len = 200; |
|
|
# Allow graphical representations of file revisions and branches with CvsGraph? |
|
# |
|
$allow_cvsgraph = $CMD{cvsgraph} ? 1 : 0; |
|
|
|
# Path to the CvsGraph configuration file. Only used if $allow_cvsgraph |
|
# is true. Leave this empty or comment it out to make cvsgraph(1) use its |
|
# default configuration file. Note that CVSweb will override some of the |
|
# settings in the configuration file with command line options, see |
|
# doGraph() and doGraphView() in cvsweb.cgi for details. |
|
# |
|
#$cvsgraph_config = "/etc/cvsgraph.conf"; |
|
|
|
# URL to the CVSHistory script. This should be absolute (but does not need |
# URL to the CVSHistory script. This should be absolute (but does not need |
# to include the host and port if the script is on the same server as |
# to include the host and port if the script is on the same server as |