From: eldy <>
Date: Tue, 11 Nov 2003 03:16:37 +0000 (+0000)
Subject: Webmin mdule updated to 1.210
X-Git-Tag: AWSTATS_6_0_BETA~128
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f62287df9adeeb8d02b3612dc89b7795386f39;p=thirdparty%2FAWStats.git
Webmin mdule updated to 1.210
---
diff --git a/tools/webmin/awstats/awstats-lib.pl b/tools/webmin/awstats/awstats-lib.pl
index 0f788d73..c583e88d 100644
--- a/tools/webmin/awstats/awstats-lib.pl
+++ b/tools/webmin/awstats/awstats-lib.pl
@@ -271,7 +271,7 @@ print "\n";
sub scan_config_dir
{
my $dir=shift;
-opendir(DIR, $dir) || die "Can't scan directory $dir";
+opendir(DIR, $dir) || return;
local @rv = grep { /^awstats\.(.*)conf$/ } sort readdir(DIR);
closedir(DIR);
foreach my $file (0..@rv-1) {
diff --git a/tools/webmin/awstats/edit_config.cgi b/tools/webmin/awstats/edit_config.cgi
index 9db6ff50..fc9bc512 100644
--- a/tools/webmin/awstats/edit_config.cgi
+++ b/tools/webmin/awstats/edit_config.cgi
@@ -93,8 +93,8 @@ print "
\n";
my $filenametosave="";
if ($in{'new'}) {
print " | $text{'edit_add'} | \n";
-# print "";
- print "";
+# print "";
+ print "";
print " | | \n";
print "
| \n";
} else {
@@ -104,7 +104,7 @@ print "\n";
print " MAIN SETUP SECTION (Required to make AWStats work)
| \n";
-print " | LogFile | ".&file_chooser_button("LogFile",0,0)." | ";
+print " | | LogFile | ".&file_chooser_button("LogFile",0,0)." | ";
print &hblink($text{'help_help'}, "help.cgi?param=LogFile")." | \n";
print " | LogType | ";
print " | |