From 76af87915bd5f6de04153c845def3f46774c0653 Mon Sep 17 00:00:00 2001 From: octo Date: Sun, 16 Apr 2006 16:18:07 +0000 Subject: [PATCH] Fix for subdirectories in host directories.. --- contrib/collection.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/collection.cgi b/contrib/collection.cgi index fbfd2299..95102b53 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -911,7 +911,7 @@ our $GraphMulti = ping => \&output_graph_ping, sensors => 1, traffic => 1, - users => 1 + users => 1 }; our @Info; @@ -1474,7 +1474,7 @@ sub parse_pathinfo $AbsDir = $Config->{'Directory'}; $RelDir = ''; - while (@info and -d $AbsDir . '/' . $Info[0]) + while (@info and -d $AbsDir . '/' . $info[0]) { my $new = shift (@info); next if ($new =~ m/^\./); -- 2.30.2