Revision f1213034
Added by Hamish Coleman almost 17 years ago
- ID f12130342718eb306523fcb808446612e8c3c87c
mrtg.cgi | ||
---|---|---|
use CGI::Carp qw(fatalsToBrowser);
|
||
use Sys::Hostname;
|
||
|
||
# List of config files to search for
|
||
my @config_files = (
|
||
'/etc/mrtg.cfg',
|
||
'/usr/share/WWW/mrtg/mrtg.cfg',
|
||
... | ... | |
}
|
||
|
||
my $this_host = hostname;
|
||
if(defined param('path')) {
|
||
if(!defined param('page')) {
|
||
print header,
|
||
start_html(-TITLE=>"$this_host MRTG Index (V$VERSION)",
|
||
-bgcolor=>"white",
|
Also available in: Unified diff
Make new tree the default