mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
fheminfo/statistics: changes after release tests
git-svn-id: https://svn.fhem.de/fhem/trunk@14393 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d7e1ba75d7
commit
9f59ffbaa3
@ -1,22 +1,24 @@
|
||||
# $Id$
|
||||
################################################################
|
||||
#
|
||||
# This script free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# any later version.
|
||||
#
|
||||
# The GNU General Public License can be found at
|
||||
# http://www.gnu.org/copyleft/gpl.html.
|
||||
# A copy is found in the textfile GPL.txt and important notices to the license
|
||||
# from the author is found in LICENSE.txt distributed with these scripts.
|
||||
#
|
||||
# This script is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
################################################################
|
||||
=for comment
|
||||
|
||||
$Id$
|
||||
|
||||
This script free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
any later version.
|
||||
|
||||
The GNU General Public License can be found at
|
||||
http://www.gnu.org/copyleft/gpl.html.
|
||||
A copy is found in the textfile GPL.txt and important notices to the license
|
||||
from the author is found in LICENSE.txt distributed with these scripts.
|
||||
|
||||
This script is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
=cut
|
||||
|
||||
package main;
|
||||
use strict;
|
||||
use warnings;
|
||||
@ -25,16 +27,16 @@ use HttpUtils;
|
||||
|
||||
my %fhemInfo =();
|
||||
|
||||
sub fheminfo2_Initialize($$) {
|
||||
sub fheminfo_Initialize($$) {
|
||||
my %hash = (
|
||||
Fn => "CommandFheminfo2",
|
||||
uri => "http://fhem.j65.de/stats/statistics2.cgi",
|
||||
uri => "https://fhem.de/stats/statistics2.cgi",
|
||||
Hlp => "[send],show or send Fhem statistics",
|
||||
);
|
||||
$cmds{fheminfo2} = \%hash;
|
||||
$cmds{fheminfo} = \%hash;
|
||||
}
|
||||
|
||||
sub CommandFheminfo2($$) {
|
||||
sub CommandFheminfo($$) {
|
||||
my ($cl,$param) = @_;
|
||||
my @args = split("[ \t]+", $param);
|
||||
$args[0] = defined($args[0]) ? lc($args[0]) : "";
|
@ -1,5 +1,26 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
=for comment
|
||||
|
||||
$Id$
|
||||
|
||||
This script free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
any later version.
|
||||
|
||||
The GNU General Public License can be found at
|
||||
http://www.gnu.org/copyleft/gpl.html.
|
||||
A copy is found in the textfile GPL.txt and important notices to the license
|
||||
from the author is found in LICENSE.txt distributed with these scripts.
|
||||
|
||||
This script is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use DBI;
|
19
fhem/contrib/statistics/statistics2.cgi → fhem/contrib/statistics/2017/statistics2.cgi
Normal file → Executable file
19
fhem/contrib/statistics/statistics2.cgi → fhem/contrib/statistics/2017/statistics2.cgi
Normal file → Executable file
@ -3,9 +3,24 @@
|
||||
=for comment
|
||||
|
||||
$Id$
|
||||
----------------------------------------
|
||||
|
||||
This script free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
any later version.
|
||||
|
||||
The GNU General Public License can be found at
|
||||
http://www.gnu.org/copyleft/gpl.html.
|
||||
A copy is found in the textfile GPL.txt and important notices to the license
|
||||
from the author is found in LICENSE.txt distributed with these scripts.
|
||||
|
||||
This script is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
database stuff provided by betateilchen
|
||||
----------------------------------------
|
||||
|
||||
=cut
|
||||
|
Loading…
x
Reference in New Issue
Block a user