]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add: 2906096
authoreldy <>
Wed, 4 Aug 2010 14:34:04 +0000 (14:34 +0000)
committereldy <>
Wed, 4 Aug 2010 14:34:04 +0000 (14:34 +0000)
wwwroot/cgi-bin/awstats.pl

index 26d0f7308648b33a273ca3f98fac2a16fa64d3fd..42da1e2c7c01cff6eae15e457ea408d9d0690bb7 100644 (file)
@@ -16981,6 +16981,15 @@ else { @DOWIndex = ( 0, 1, 2, 3, 4, 5, 6 ); }
 
 # Should we link to ourselves or to a wrapper script
 $AWScript = ( $WrapperScript ? "$WrapperScript" : "$DirCgi$PROG.$Extension" );
+if (index($AWScript,'?')>-1) 
+{
+    $AWScript .= '&amp;';   # $AWScript contains URL parameters
+}
+else 
+{
+    $AWScript .= '?';
+}
+
 
 # Print html header (Need HTMLOutput,Expires,Lang,StyleSheet,HTMLHeadSectionExpires defined by Read_Config, PageCode defined by Read_Language_Data)
 if ( !$HeaderHTMLSent ) { &html_head; }