slackbuilds_ponce/network/awstats/patches/awstats.pl.patch
Nishant Limbachia 0f90074f91 network/awstats: Updated for version 7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-04-06 21:03:04 +07:00

21 lines
895 B
Diff

--- wwwroot/cgi-bin/awstats.pl.orig 2017-04-03 21:23:54.906211272 -0500
+++ wwwroot/cgi-bin/awstats.pl 2017-04-03 21:26:34.551581204 -0500
@@ -2234,7 +2234,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 = ();
@@ -3130,7 +3130,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 = ();