mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
19 lines
298 B
PHP
19 lines
298 B
PHP
|
#!/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);
|
||
|
}
|
||
|
|
||
|
?>
|