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

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

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

commit 3deb7024972b9888a1fe8b9032798b8b50699b4c
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2023-10-03 15:06:45 +0000
Commit:     Wolfram Schneider <[email protected]>
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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.