Files
librenms-librenms/test.php

19 lines
298 B
PHP
Raw Normal View History

#!/usr/bin/php
<?php
include("config.php");
$srvdir = $installdir . "/includes/services/";
if ($handle = opendir($srvdir)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
closedir($handle);
}
?>