diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2009-11-01 11:25:08 -0700 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2009-11-01 11:25:08 -0700 |
| commit | 1202db1c3a67ff8232254989ece76e707b21d730 (patch) | |
| tree | 2d55b73ec9bbd9d1f5dbc7d9e8972d9b05285a25 /modules/gallery/helpers/gallery_block.php | |
| parent | 7ae4b35d787bf51ac98baf1c1818f580e0195016 (diff) | |
| parent | 91c5a9abb7b617e45b547ced6a28c14a64ef760f (diff) | |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/gallery_block.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_block.php | 2 |
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"); } |
