git: 3deb702497 - main - simplify base header configuration for help page

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Tue, 03 Oct 2023 15:07:23 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=3deb7024972b9888a1fe8b9032798b8b50699b4c

commit 3deb7024972b9888a1fe8b9032798b8b50699b4c
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2023-10-03 15:06:45 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2023-10-03 15:07:00 +0000

    simplify base header configuration for help page
---
 website/content/en/cgi/man.cgi | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 112312c590..3f6730b6b7 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -2178,12 +2178,8 @@ sections.
 }
 
 sub faq_output {
-    my $base = $BASE;
-    $base =~ s,[^/]*$,,;
-    $base = 'https://www.freebsd.org/cgi/';    # XXX
-
     &http_header("text/html");
-    print &html_header( "FreeBSD manual page help", $base );
+    print &html_header( "FreeBSD manual page help", '/cgi/' );
     print "<br/>\n<h1>$www{'head'}</h1>\n";
     print &faq . "<br/>\n";
     &html_footer('no_help_link' => 1);