[Phpsysinfo-subversion] SF.net SVN: phpsysinfo:[268] includes/os/class.Linux.inc.php
Brought to you by:
namiltd
From: <big...@us...> - 2009-06-24 05:31:50
|
Revision: 268 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=268&view=rev Author: bigmichi1 Date: 2009-06-24 05:31:03 +0000 (Wed, 24 Jun 2009) Log Message: ----------- convert Array to readable output Modified Paths: -------------- includes/os/class.Linux.inc.php Modified: includes/os/class.Linux.inc.php =================================================================== --- includes/os/class.Linux.inc.php 2009-06-24 05:23:21 UTC (rev 267) +++ includes/os/class.Linux.inc.php 2009-06-24 05:31:03 UTC (rev 268) @@ -141,7 +141,7 @@ $result = preg_split("/\s/", $buf, 4); // don't need the extra values, only first three unset($result[3]); - $this->sys->setLoad($result); + $this->sys->setLoad(implode(' ', $result)); } if (PSI_LOAD_BAR) { $this->sys->setLoadPercent($this->_parseProcStat('cpu')); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |