From 90da3d1c6e4f5b03b5f3610ce497b530d119e41a Mon Sep 17 00:00:00 2001 From: MathiasReker Date: Fri, 17 Jun 2022 15:33:21 +0200 Subject: [PATCH] No closing tag The closing ?> tag MUST be omitted from files containing only PHP. --- credits.php | 4 +--- error.php | 3 +-- manual-lookup.php | 4 +--- manual/index.php | 3 +-- manual/spam_challenge.php | 5 +---- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/credits.php b/credits.php index 540919c059..5731f49539 100644 --- a/credits.php +++ b/credits.php @@ -25,6 +25,4 @@ site_header("Credits", array("current" => "community", 'css' => array('credits.css'))); echo $credits; site_footer(); -} - -?> +} \ No newline at end of file diff --git a/error.php b/error.php index 46acd721f2..5146b4773c 100644 --- a/error.php +++ b/error.php @@ -702,5 +702,4 @@ ); /* * vim: set et ts=4 sw=4 ft=php: : - */ -?> + */ \ No newline at end of file diff --git a/manual-lookup.php b/manual-lookup.php index f20d4a44e2..673268724d 100644 --- a/manual-lookup.php +++ b/manual-lookup.php @@ -30,6 +30,4 @@ // Fall back to a quick reference search $notfound = $function; -include __DIR__ . '/quickref.php'; - -?> +include __DIR__ . '/quickref.php'; \ No newline at end of file diff --git a/manual/index.php b/manual/index.php index 01404eda1f..9e0287509c 100644 --- a/manual/index.php +++ b/manual/index.php @@ -1,4 +1,3 @@ +mirror_redirect("/manual/$LANG/index.php"); \ No newline at end of file diff --git a/manual/spam_challenge.php b/manual/spam_challenge.php index 8f7710ad32..4df0d29326 100644 --- a/manual/spam_challenge.php +++ b/manual/spam_challenge.php @@ -67,7 +67,4 @@ function test_answer($name, $an, $bn, $answer) { if (empty($c) || $a === false || $b === false) return false; return ($nums[$c[0]($a, $b)] === $answer); -} - - -?> +} \ No newline at end of file