com web/windows: Fix expected $mode: docroot/listing.php
| From: | Christoph Michael Becker | Date: | Wed, 02 Oct 2019 21:51:33 +0000 |
| Subject: | com web/windows: Fix expected $mode: docroot/listing.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28366@lists.php.net to get a copy of this message | ||
Commit: 9e24d21c09f9483efde80dc7ebfdeb32fd803b00
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 2 Oct 2019 23:51:33 +0200
Parents: 610654abb17e7f74eaf5ce7af2dca222ecfce27b
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=9e24d21c09f9483efde80dc7ebfdeb32fd803b00
Log:
Fix expected $mode
/download/ is actually redirected to /listing.php?mode=release, so we
use this for now – should clean that up sometime...
Changed paths:
M docroot/listing.php
Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 75f2413..23bdbc0 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -117,7 +117,7 @@ include TPL_PATH . 'left_column.php';
<?php } ?>
</select>
-<?php if ($mode == 'releases'):?>
+<?php if ($mode == 'release'):?>
<br><br><a href="https://windows.php.net/downloads/releases/archives/">Past
releases</a>
<?php endif?>
</div><!-- .info -->