com web/windows: Show PHP 8.0.0 pre-releases: docroot/listing.php include/listing.php
| From: | Christoph Michael Becker | Date: | Thu, 25 Jun 2020 11:00:18 +0000 |
| Subject: | com web/windows: Show PHP 8.0.0 pre-releases: docroot/listing.php include/listing.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28686@lists.php.net to get a copy of this message | ||
Commit: 9a89f09a7692f31f36b0d4a75a823b91caaae3fa
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 25 Jun 2020 13:00:18 +0200
Parents: d847fce1fd951161e6033a2751cc4e95d564b5bc
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=9a89f09a7692f31f36b0d4a75a823b91caaae3fa
Log:
Show PHP 8.0.0 pre-releases
Changed paths:
M docroot/listing.php
M include/listing.php
Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 1e1a266..0862b0f 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -36,7 +36,7 @@ include __DIR__ . '/../include/listing.php';
$baseurl = '/' . $dir_to_parse . '/';
$versions = generate_listing($dir_to_parse, $nmode);
-$major_order = array('7.4', '7.3', '7.2');
+$major_order = array('8.0', '7.4', '7.3', '7.2');
$minor_order = array(
'7.2' => array(
'nts-VC15-x64',
@@ -56,6 +56,12 @@ $minor_order = array(
'nts-vc15-x86',
'ts-vc15-x86'
),
+ '8.0' => array(
+ 'nts-vs16-x64',
+ 'ts-vs16-x64',
+ 'nts-vs16-x86',
+ 'ts-vs16-x86'
+ ),
);
$labels = array(
diff --git a/include/listing.php b/include/listing.php
index c121c44..a168be0 100644
--- a/include/listing.php
+++ b/include/listing.php
@@ -129,9 +129,9 @@ function generate_listing($path, $nmode) {
$old_cwd = getcwd();
chdir($path);
- $versions = glob('php-[67].*[0-9]-latest..zip');
+ $versions = glob('php-[678].*[0-9]-latest.zip');
if (empty($versions)) {
- $versions = glob('php-[67].*[0-9].zip');
+ $versions = glob('php-[678].*[0-9].zip');
}
$releases = array();