Commit: 05b038351dc99fa78b2d8a003927925bf5872121 Author: Daniel P. Brown <[email protected]> Wed, 10 Oct 2012 14:43:53 -0400 Parents: 3ea89472aaa48dd4a9b832005439b35473422cf8 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=05b038351dc99fa78b2d8a003927925bf5872121 Log: Let's get the IP address, too, because a lot of mirrors aren't going to have FQDNs or even unique hostnames. Changed paths: M mirror-info.php Diff: diff --git a/mirror-info.php b/mirror-info.php index 512edd6..7b84ad0 100644 --- a/mirror-info.php +++ b/mirror-info.php @@ -39,16 +39,17 @@ if (isset($_GET["token"]) && md5($_GET["token"]) === "19a3ec370affe2d899755f005e } echo join('|', array( - $MYSITE, // 0: ServerName problems - phpversion(), // 1: PHP version overview - $LAST_UPDATED, // 2: Update problems - $sqlite, // 3: SQLite support? - $mirror_stats, // 4: Optional local stats support - 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 - gethostname(), // 9: The configured hostname of the local system + $MYSITE, // 0 : CNAME for mirror as accessed (CC, CC1, etc.) + phpversion(), // 1 : PHP version overview + $LAST_UPDATED, // 2 : Update problems + $sqlite, // 3 : SQLite support? + $mirror_stats, // 4 : Optional local stats support + 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 + gethostname(), // 9 : The configured hostname of the local system + $_SERVER['SERVER_ADDR'], // 10: The IP address under which we're running )); function run_self_tests() { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
