Move the sys_getloadavg() call into the template since that's what we're doing for other similar calls

This commit is contained in:
Bharat Mediratta
2010-11-20 20:54:16 -08:00
parent 13cc0087ec
commit 12b77c7ef4
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
<?= t("MySQL: %mysql_version", array("mysql_version" => Database::instance()->query("SELECT version() as v")->current()->v)) ?>
</li>
<li>
<?= t("Server load: %load_average", array("load_average" => $load_average)) ?>
<?= t("Server load: %load_average", array("load_average" => join(" ", sys_getloadavg()))) ?>
</li>
<li>
<?= t("Graphics toolkit: %toolkit", array("toolkit" => module::get_var("gallery", "graphics_toolkit"))) ?>