mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Fixed issue with using dir
This commit is contained in:
+1
-1
@@ -751,7 +751,7 @@ function get_smokeping_files($device) {
|
||||
global $config;
|
||||
if (isset($config['smokeping']['dir'])) {
|
||||
$smokeping_files = array();
|
||||
$filename_dir = generate_smokeping_dir($device);
|
||||
$smokeping_dir = generate_smokeping_dir($device);
|
||||
if ($handle = opendir($smokeping_dir)) {
|
||||
while (false !== ($file = readdir($handle))) {
|
||||
if ($file != "." && $file != "..") {
|
||||
|
||||
Reference in New Issue
Block a user