# Should we link to ourselves or to a wrapper script
$AWScript = ( $WrapperScript ? "$WrapperScript" : "$DirCgi$PROG.$Extension" );
+if (index($AWScript,'?')>-1)
+{
+ $AWScript .= '&'; # $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; }