mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: make d_echo work in webui (#4432)
* webui: make d_echo work in webui Remove d_print_r(), it is redundant to d_echo() Remove d_echo calls in services.inc.php * Switched debug check to work with nginx
This commit is contained in:
committed by
Neil Lathwood
parent
ce95ceaa2b
commit
0351b54fb8
@@ -17,7 +17,6 @@ if (is_admin() !== false) {
|
||||
if (file_exists($dir) && is_dir($dir)) {
|
||||
$files = scandir($dir);
|
||||
$dir .= DIRECTORY_SEPARATOR;
|
||||
d_print_r($files);
|
||||
foreach ($files as $file) {
|
||||
if (is_executable($dir.$file) && is_file($dir.$file) && strstr($file, 'check_')) {
|
||||
list(,$check_name) = explode('_', $file, 2);
|
||||
|
Reference in New Issue
Block a user