blob: a749b988e22a2a470d2ef07e9d4d2a6bd4976ff8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- wwwroot/cgi-bin/awstats.pl.orig 2016-07-21 17:42:26.196363651 +0700
+++ wwwroot/cgi-bin/awstats.pl 2016-07-21 17:44:55.882578219 +0700
@@ -2223,7 +2223,7 @@
# Check lib files in common possible directories :
# Windows and standard package: "$DIR/lib" (lib in same dir than awstats.pl)
# Debian package: "/usr/share/awstats/lib"
- my @PossibleLibDir = ( "$DIR/lib", "/usr/share/awstats/lib" );
+ my @PossibleLibDir = ( "$DIR/lib", "/usr/share/awstats/lib", "@DOCROOT@/awstats/wwwroot/cgi-bin/lib" );
my %FilePath = ();
my %DirAddedInINC = ();
my @FileListToLoad = ();
@@ -3114,7 +3114,8 @@
my @PossiblePluginsDir = (
"$DIR/plugins",
"/usr/local/awstats/wwwroot/cgi-bin/plugins",
- "/usr/share/awstats/plugins"
+ "/usr/share/awstats/plugins",
+ "@DOCROOT@/awstats/wwwroot/cgi-bin/plugins"
);
my %DirAddedInINC = ();
|