[vhffs-dev] [417] I like to change something useless and commit, so this time I decided to change the directory of the awstat config file to do a commit :-) |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [417] I like to change something useless and commit, so this time I decided to change the directory of the awstat config file to do a commit :-)
- From: subversion@xxxxxxxxx
- Date: Sun, 21 Jan 2007 09:20:05 +0100
Revision: 417
Author: gradator
Date: 2007-01-21 08:20:03 +0000 (Sun, 21 Jan 2007)
Log Message:
-----------
I like to change something useless and commit, so this time I decided to change the directory of the awstat config file to do a commit :-)
Modified Paths:
--------------
trunk/vhffs-robots/misc/awstat_6.4_vhffs.patch
trunk/vhffs-robots/src/generate_webstats.pl
Modified: trunk/vhffs-robots/misc/awstat_6.4_vhffs.patch
===================================================================
--- trunk/vhffs-robots/misc/awstat_6.4_vhffs.patch 2007-01-21 08:12:18 UTC (rev 416)
+++ trunk/vhffs-robots/misc/awstat_6.4_vhffs.patch 2007-01-21 08:20:03 UTC (rev 417)
@@ -1,5 +1,5 @@
---- awstats.pl_old 2007-01-21 09:04:48.000000000 +0100
-+++ awstats.pl 2007-01-21 09:06:06.000000000 +0100
+--- /usr/lib/cgi-bin/awstats.pl 2006-05-26 09:38:54.000000000 +0200
++++ awstats.pl 2007-01-21 09:17:49.000000000 +0100
@@ -1091,10 +1091,18 @@
my $configdir=shift;
my @PossibleConfigDir=();
@@ -12,7 +12,7 @@
+ use Vhffs::Conf;
+ use Vhffs::Functions;
+ my $vhffs = init Vhffs::Main;
-+ my $vhffsconfigdir = Vhffs::Conf::get_web_config()->{"log_parsed_root"}."/".Vhffs::Functions::hash_webdir( $SiteConfig );
++ my $vhffsconfigdir = Vhffs::Conf::get_web_config()->{"log_parsed_root"}."/".Vhffs::Functions::hash_webdir( $SiteConfig )."/awstats";
+
+ @PossibleConfigDir=("$vhffsconfigdir");
+
Modified: trunk/vhffs-robots/src/generate_webstats.pl
===================================================================
--- trunk/vhffs-robots/src/generate_webstats.pl 2007-01-21 08:12:18 UTC (rev 416)
+++ trunk/vhffs-robots/src/generate_webstats.pl 2007-01-21 08:20:03 UTC (rev 417)
@@ -178,9 +178,9 @@
my $svname = $_->get_servername;
my $weblogdir = $log_parsed_root."/".Vhffs::Functions::hash_webdir( $svname );
- my $conffile = $weblogdir."/awstats.".$svname.".conf";
my $logpath = $weblogdir."/logs/access.log";
my $datadir = $weblogdir."/awstats";
+ my $conffile = $datadir."/awstats.".$svname.".conf";
#next if( -f $conffile );