Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563.

This commit is contained in:
Bharat Mediratta
2009-07-21 11:20:36 -07:00
parent 050c82cf80
commit 2de6b77d61

View File

@@ -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"))) ?>