]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fix hardwaregraphs.cgi
authorArne Fitzennreiter <arne_f@ipfire.org>
Tue, 21 Oct 2008 16:43:43 +0000 (18:43 +0200)
committerArne Fitzennreiter <arne_f@ipfire.org>
Tue, 21 Oct 2008 16:43:43 +0000 (18:43 +0200)
html/cgi-bin/hardwaregraphs.cgi

index d03f3f2b22f3b0a71967b513373df1c8a38d0eda..66510d0584560b118b05f23cb534790334f8f99d 100644 (file)
@@ -117,7 +117,7 @@ if ( $querry[0] =~ "hwtemp"){
            &Header::closebox();
        }
 
-       if ( `ls $mainsettings{'RRDLOG'}/collectd/localhost/sonsors-*` ) {
+       if ( `ls $mainsettings{'RRDLOG'}/collectd/localhost/sensors-*` ) {
            &Header::openbox('100%', 'center', "hwtemp $Lang::tr{'graph'}");
            &Graphs::makegraphbox("hardwaregraphs.cgi","hwtemp","day");
            &Header::closebox();