diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-21 11:20:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-21 11:20:36 -0700 |
commit | 2de6b77d61f79248eff99f439a96de6d5cb68f6f (patch) | |
tree | a118872ebd07b55e5abde9f0a74703c6d9564987 /modules | |
parent | 050c82cf80b06a555252efaf701434b0cfd59bed (diff) |
Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/views/admin_block_platform.html.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_block_platform.html.php b/modules/gallery/views/admin_block_platform.html.php index 6b79f047..f27b9e7a 100644 --- a/modules/gallery/views/admin_block_platform.html.php +++ b/modules/gallery/views/admin_block_platform.html.php @@ -1,7 +1,10 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <ul> <li> - <?= t("Operating System: %operating_system", array("operating_system" => PHP_OS)) ?> + <?= t("Host name: %host_name", array("host_name" => php_uname("n"))) ?> + </li> + <li> + <?= t("Operating System: %os %version", array("os" => php_uname("s"), "version" => php_uname("r"))) ?> </li> <li> <?= t("Apache: %apache_version", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?> |