Files
gallery3/core/views/admin_block_platform.html.php
Bharat Mediratta c05a1103e7 Use a query to get the database version. Newer versions of PHP bomb
if you're using mysqli, and it asks for a connection which we can't easily get
from Kohana.
2009-03-16 08:25:49 +00:00

16 lines
571 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<li>
<?= t("Operating System: %operating_system", array("operating_system" => PHP_OS)) ?>
</li>
<li>
<?= t("Apache: %apache_version", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?>
</li>
<li>
<?= t("PHP: %php_version", array("php_version" => phpversion())) ?>
</li>
<li>
<?= t("MySQL: %mysql_version", array("mysql_version" => Database::instance()->query("SELECT version() as V")->current()->V)) ?>
</li>
</ul>