mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-24 21:39:11 -04:00
Move the sys_getloadavg() call into the template since that's what we're doing for other similar calls
This commit is contained in:
@@ -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"))) ?>
|
||||
|
||||
Reference in New Issue
Block a user