com web/php: add the list of the enabled php exts to the response: mirror-info.php

From: Date: Tue, 11 Sep 2012 13:12:22 +0000
Subject: com web/php: add the list of the enabled php exts to the response: mirror-info.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14693@lists.php.net to get a copy of this message
Commit: cba7dd7ec895bb568bf57bb3a0c4dca5d923104f Author: Ferenc Kovacs <tyra3l@gmail.com> Tue, 11 Sep 2012 15:12:22 +0200 Parents: f7ae09e0fae5eaafb227cc501c42372ee29575fe Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cba7dd7ec895bb568bf57bb3a0c4dca5d923104f Log: add the list of the enabled php exts to the response Changed paths: M mirror-info.php Diff: diff --git a/mirror-info.php b/mirror-info.php index 01fbec4..7964328 100644 --- a/mirror-info.php +++ b/mirror-info.php @@ -21,6 +21,8 @@ $md5_ok = (int) (file_exists($filename) && md5_file($filename) == $PHP_5_3_MD5[" // Gets all available sqlite versions for possible future sqlite wrapper $sqlite = get_available_sqlites(); +$exts = join(get_loaded_extensions(), ','); + if (isset($_GET["token"]) && md5($_GET["token"]) === "19a3ec370affe2d899755f005e5cd90e") { $retval = run_self_tests(); $output = isset($_GET["output"]) ? $_GET["output"] : "php"; @@ -45,6 +47,7 @@ echo join('|', array( default_language(), // 5: Mirror language 'manual-noalias', // 6: /manual alias check is done elsewhere now $md5_ok, // 7: Rsync setup problems + $exts, // 8: List of php extensions separated by comma )); function run_self_tests() {

« previous php.webmaster (#14693) next »