1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/webstats/files/patch-ad
Edwin Groothuis 1472321701 New POrt: webstats
ananlog + reportmagic automation tool

PR:		ports/48422
Submitted by:	Kevin Golding <kevin@caomhin.demon.co.uk>
2003-10-06 02:23:01 +00:00

23 lines
781 B
Plaintext

--- scripts/perl/webstats Wed Feb 6 09:51:43 2002
+++ scripts/perl/webstats Sun Feb 16 18:09:33 2003
@@ -42,8 +42,8 @@
#use strict;
use Config::IniFiles;
-#we read variables from /etc/webstats/webstats.ini
-$cfg = new Config::IniFiles -file => "/etc/webstats/webstats.ini";
+#we read variables from $PREFIX/etc/webstats/webstats.ini
+$cfg = new Config::IniFiles -file => "%%PREFIX%%/etc/webstats/webstats.ini";
my $VHOSTDIR=$cfg->val('rmagic', 'VHOSTDIR');
my $WWWDIR=$cfg->val('rmagic', 'WWWDIR');
@@ -73,7 +73,7 @@
#
#What does it do?:
#
-# if DEBUG variable in /etc/webstats/webstats.ini is set to "yes"
+# if DEBUG variable in $PREFIX/etc/webstats/webstats.ini is set to "yes"
# print some useful information to $WEBSTATSLOG
sub debug{
if ($DEBUG eq "yes"){