From a07e77991f8c726ee63d33fdcbc2afab31f3bf34 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Wed, 7 Jun 2017 16:57:19 +0000 Subject: [PATCH] statistics2.cgi: for debugging git-svn-id: https://svn.fhem.de/fhem/trunk@14476 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/statistics/2017/statistics2.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fhem/contrib/statistics/2017/statistics2.cgi b/fhem/contrib/statistics/2017/statistics2.cgi index 1274a1a57..202be5fbf 100755 --- a/fhem/contrib/statistics/2017/statistics2.cgi +++ b/fhem/contrib/statistics/2017/statistics2.cgi @@ -64,7 +64,7 @@ my $css = "style.css"; if ($ua =~ m/FHEM/) { my $result = insertDB(); print header("application/x-www-form-urlencoded"); - if $result { + if ($result) { print "==> ok" } else { print "==> error" @@ -219,11 +219,11 @@ sub viewStatistics() { $q->p( "Statistics database
created: $started, updated: $updated
". "entries (total): $nodesTotal, entries (12 month): $nodes12
". "Generation time: ".sprintf("%.3f",time()-$start)." seconds"), - $q->hr, - $q->p( "System info
". Dumper $countSystem ), - $q->p( "GeoIP info
". Dumper $countGeo ), - $q->p( "Modules info
". Dumper $countModules ), - $q->p( "Models per module info
". Dumper $countModels ), +# $q->hr, +# $q->p( "System info
". Dumper $countSystem ), +# $q->p( "GeoIP info
". Dumper $countGeo ), +# $q->p( "Modules info
". Dumper $countModules ), +# $q->p( "Models per module info
". Dumper $countModels ), $q->end_html; }