Code clean up

This commit is contained in:
KHobbits
2016-02-02 00:56:19 +00:00
parent 92a7e5796d
commit 5ebe6b44c0
2 changed files with 27 additions and 20 deletions
+2 -1
View File
@@ -1373,7 +1373,7 @@ function dnslookup($device,$type=false,$return=false) {
*
**/
class RRDReursiveFilterIterator extends \RecursiveFilterIterator {
class RRDRecursiveFilterIterator extends \RecursiveFilterIterator {
public function accept() {
$filename = $this->current()->getFilename();
if ($filename[0] === '.') {
@@ -1402,6 +1402,7 @@ class RRDReursiveFilterIterator extends \RecursiveFilterIterator {
**/
function rrdtest($path, &$stdOutput, &$stdError) {
global $config;
//rrdtool info <escaped rrd path>
$command = $config['rrdtool'].' info '.escapeshellarg($path);
$process = proc_open(