]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Now awredir need a key
authoreldy <>
Wed, 31 Dec 2008 03:24:08 +0000 (03:24 +0000)
committereldy <>
Wed, 31 Dec 2008 03:24:08 +0000 (03:24 +0000)
wwwroot/cgi-bin/awredir.pl

index 88a527e938dcbe6ce07cb8b0b4e48f323470d6af..78cd126addc724ddbf8596f855f4da46520c9786 100644 (file)
@@ -102,6 +102,10 @@ if (! $ENV{'GATEWAY_INTERFACE'}) { # Run from command line
        exit 0;
 }
 
+if ($KEYFORMD5 eq 'YOURKEYFORMD5') {
+        error("Error: You must change value of constant KEYFORMD5");
+}
+
 # Extract tag
 $Tag='NOTAG';
 if ($ENV{QUERY_STRING} =~ /tag=\"?([^\"&]+)\"?/) { $Tag=$1; }