]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Moved library files in lib directory
authoreldy <>
Sat, 4 May 2002 19:53:12 +0000 (19:53 +0000)
committereldy <>
Sat, 4 May 2002 19:53:12 +0000 (19:53 +0000)
wwwroot/cgi-bin/awstats.pl
wwwroot/cgi-bin/lib/browsers.pl [moved from wwwroot/cgi-bin/db/browsers.pl with 100% similarity]
wwwroot/cgi-bin/lib/domains.pl [moved from wwwroot/cgi-bin/db/domains.pl with 100% similarity]
wwwroot/cgi-bin/lib/operating_systems.pl [moved from wwwroot/cgi-bin/db/operating_systems.pl with 100% similarity]
wwwroot/cgi-bin/lib/robots.pl [moved from wwwroot/cgi-bin/db/robots.pl with 100% similarity]
wwwroot/cgi-bin/lib/search_engines.pl [moved from wwwroot/cgi-bin/db/search_engines.pl with 100% similarity]

index 0ca452d2af9494b049d1f12eddd52409da66aea3..d580919fce5cb605690d9612c738ab71f323baf9 100644 (file)
@@ -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.