head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2003.10.06.02.23.01;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.1
log
@New POrt: webstats

	ananlog + reportmagic automation tool

PR:		ports/48422
Submitted by:	Kevin Golding <kevin@@caomhin.demon.co.uk>
@
text
@--- 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"){
@
