[web-php] master: Fix mirror-info.php to work on PHP8 (arg order to join/implode)
| From: | Sara Golemon | Date: | Thu, 08 Jul 2021 19:53:15 +0000 |
| Subject: | [web-php] master: Fix mirror-info.php to work on PHP8 (arg order to join/implode) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29408@lists.php.net to get a copy of this message | ||
Author: Sara Golemon (sgolemon)
Date: 2021-07-08T19:52:35Z
Commit: https://github.com/php/web-php/commit/0a39d89148e0e07d84e8f589076f8265c89f7629
Raw diff: https://github.com/php/web-php/commit/0a39d89148e0e07d84e8f589076f8265c89f7629.diff
Fix mirror-info.php to work on PHP8 (arg order to join/implode)
Changed paths:
M mirror-info.php
Diff:
diff --git a/mirror-info.php b/mirror-info.php
index a428122cd..fae922dbf 100644
--- a/mirror-info.php
+++ b/mirror-info.php
@@ -29,7 +29,7 @@ function_exists('hash_file') &&
// Gets all available sqlite versions for possible future sqlite wrapper
$sqlite = get_available_sqlites();
-$exts = join(get_loaded_extensions(), ',');
+$exts = implode(',', get_loaded_extensions());
echo join('|', array(
$MYSITE, // 0 : CNAME for mirror as accessed (CC, CC1, etc.)