mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-06 03:29:28 -04:00
Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563.
This commit is contained in:
@@ -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"))) ?>
|
||||
|
||||
Reference in New Issue
Block a user