projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4345a
)
contrib/collection3: Update `json.cgi' to use the new config parsing function.
author
Florian Forster
<octo@huhu.verplant.org>
Mon, 28 Jul 2008 09:05:39 +0000
(11:05 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Mon, 28 Jul 2008 09:05:39 +0000
(11:05 +0200)
contrib/collection3/bin/json.cgi
patch
|
blob
|
history
diff --git
a/contrib/collection3/bin/json.cgi
b/contrib/collection3/bin/json.cgi
index
0dceb62
..
c2af61c
100755
(executable)
--- a/
contrib/collection3/bin/json.cgi
+++ b/
contrib/collection3/bin/json.cgi
@@
-27,13
+27,14
@@
use URI::Escape ('uri_escape');
use Data::Dumper;
-use Collectd::Graph::TypeLoader (qw(tl_read_config tl_load_type));
+use Collectd::Graph::Config (qw(gc_read_config));
+use Collectd::Graph::TypeLoader (qw(tl_load_type));
use Collectd::Graph::Common (qw(get_all_hosts get_files_for_host type_to_module_name));
use Collectd::Graph::Type ();
our $Debug = param ('debug') ? 1 : 0;
-
tl_read_config ("$RealBin/../etc/collection3
.conf");
+
gc_read_config ("$RealBin/../etc/collection
.conf");
if ($Debug)
{