mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Code clean up
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user