summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-01 10:23:12 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-01 10:23:12 -0800
commit91c5a9abb7b617e45b547ced6a28c14a64ef760f (patch)
treee223b4c6a7602a78aeb106db7d89f3059194f4b7 /modules
parent376eb5673fd9cbc06abf308a04f83231de1a1d11 (diff)
parent774e0be66ecd0c0012ab94a389e38eb81df6eab0 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/gallery_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php
index 0052affc..b5c32ad2 100644
--- a/modules/gallery/helpers/gallery_block.php
+++ b/modules/gallery/helpers/gallery_block.php
@@ -72,7 +72,7 @@ class gallery_block_Core {
$block->content = new View("admin_block_platform.html");
if (is_readable("/proc/loadavg")) {
$block->content->load_average =
- join(" ", array_slice(split(" ", array_shift(file("/proc/loadavg"))), 0, 3));
+ join(" ", array_slice(explode(" ", array_shift(file("/proc/loadavg"))), 0, 3));
} else {
$block->content->load_average = t("Unavailable");
}