aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--index.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/index.php b/index.php
index cf0cb85..437093d 100644
--- a/index.php
+++ b/index.php
@@ -9,10 +9,12 @@ html_start();
9$h = array(); 9$h = array();
10 10
11# show all categorized hosts 11# show all categorized hosts
12foreach($CONFIG['cat'] as $cat => $hosts) { 12if (is_array($CONFIG['cat'])) {
13 printf("<h2>%s</h2>\n", $cat); 13 foreach($CONFIG['cat'] as $cat => $hosts) {
14 host_summary($hosts); 14 printf("<h2>%s</h2>\n", $cat);
15 $h = array_merge($h, $hosts); 15 host_summary($hosts);
16 $h = array_merge($h, $hosts);
17 }
16} 18}
17 19
18# search for uncategorized hosts 20# search for uncategorized hosts