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:
Tony Murray
2016-09-14 04:05:49 -05:00
committed by Neil Lathwood
parent ce95ceaa2b
commit 0351b54fb8
5 changed files with 11 additions and 25 deletions

View File

@@ -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);