com web/php: Remove conditionals from php8 announcement item. Avoid version.inc not being included issue: include/header.inc
| From: | Sara Golemon | Date: | Thu, 26 Nov 2020 18:21:18 +0000 |
| Subject: | com web/php: Remove conditionals from php8 announcement item. Avoid version.inc not being included issue: include/header.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28912@lists.php.net to get a copy of this message | ||
Commit: 25867bd36ff734354a547c87cf20cd7d4e4469a6
Author: Sara Golemon <pollita@php.net> Thu, 26 Nov 2020 18:21:18 +0000
Parents: 8257215765a0eca5ae2c4c75eb78acaeaeec04b0
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=25867bd36ff734354a547c87cf20cd7d4e4469a6
Log:
Remove conditionals from php8 announcement item. Avoid version.inc not being included issue
Changed paths:
M include/header.inc
Diff:
diff --git a/include/header.inc b/include/header.inc
index 2ba0cccdb..15101bee3 100644
--- a/include/header..inc
+++ b/include/header.inc
@@ -118,13 +118,11 @@ if (!isset($config["languages"])) {
<li class="<?php echo $curr == "docs" ? "active" :
""?>"><a href="/docs.php">Documentation</a></li>
<li class="<?php echo $curr == "community" ? "active" :
""?>"><a href="/get-involved" >Get
Involved</a></li>
<li class="<?php echo $curr == "help" ? "active" :
""?>"><a href="/support">Help</a></li>
-<?php if (!empty($GLOBALS['RELEASES'][8])): ?>
<li class="<?php echo $curr === "php8" ? "active" :
"" ?>">
<a href="/releases/8.0/index.php">
<img src="/images/php8/logo_php8.svg" alt="php8"
height="22" width="60">
</a>
</li>
-<?php endif ?>
</ul>
<form class="navbar-search" id="topsearch"
action="/search.php">
<input type="hidden" name="show" value="quickref">