From: eldy <> Date: Sat, 4 May 2002 19:53:12 +0000 (+0000) Subject: Moved library files in lib directory X-Git-Tag: AWSTATS_4_1_BETA~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ad276655c73d2f48daa6c985adbe6eb33fee8dc;p=thirdparty%2FAWStats.git Moved library files in lib directory --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 0ca452d2..d580919f 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -768,7 +768,7 @@ sub Read_Config_File { sub Read_Ref_Data { my %FilePath=(); foreach my $file ("browsers.pl","domains.pl","operating_systems.pl","robots.pl","search_engines.pl") { - foreach my $dir ("${DIR}db","./db") { + foreach my $dir ("${DIR}lib","./lib") { my $searchdir=$dir; if ($searchdir && (!($searchdir =~ /\/$/)) && (!($searchdir =~ /\\$/)) ) { $searchdir .= "/"; } if (! $FilePath{$file}) { @@ -781,7 +781,7 @@ sub Read_Ref_Data { } if (! $FilePath{$file}) { my $filetext=$file; $filetext =~ s/\.pl$//; $filetext =~ s/_/ /g; - &warning("Warning: Can't read file \"$file\" ($filetext detection will not work correctly).\nCheck if file is in ${DIR}db directory and is readable."); + &warning("Warning: Can't read file \"$file\" ($filetext detection will not work correctly).\nCheck if file is in ${DIR}lib directory and is readable."); } } # Sanity check. diff --git a/wwwroot/cgi-bin/db/browsers.pl b/wwwroot/cgi-bin/lib/browsers.pl similarity index 100% rename from wwwroot/cgi-bin/db/browsers.pl rename to wwwroot/cgi-bin/lib/browsers.pl diff --git a/wwwroot/cgi-bin/db/domains.pl b/wwwroot/cgi-bin/lib/domains.pl similarity index 100% rename from wwwroot/cgi-bin/db/domains.pl rename to wwwroot/cgi-bin/lib/domains.pl diff --git a/wwwroot/cgi-bin/db/operating_systems.pl b/wwwroot/cgi-bin/lib/operating_systems.pl similarity index 100% rename from wwwroot/cgi-bin/db/operating_systems.pl rename to wwwroot/cgi-bin/lib/operating_systems.pl diff --git a/wwwroot/cgi-bin/db/robots.pl b/wwwroot/cgi-bin/lib/robots.pl similarity index 100% rename from wwwroot/cgi-bin/db/robots.pl rename to wwwroot/cgi-bin/lib/robots.pl diff --git a/wwwroot/cgi-bin/db/search_engines.pl b/wwwroot/cgi-bin/lib/search_engines.pl similarity index 100% rename from wwwroot/cgi-bin/db/search_engines.pl rename to wwwroot/cgi-bin/lib/search_engines.pl