mirror of https://github.com/mikaku/Monitorix.git
added support of the new '-s' argument when loading the extra configuration file
This commit is contained in:
parent
d635ae248a
commit
91cd716b8b
|
@ -578,7 +578,8 @@ if($config{include_dir} && opendir(DIR, $config{include_dir})) {
|
|||
next unless $c =~ m/\.conf$/;
|
||||
logger("Loading extra configuration file '$config{include_dir}/$c'.");
|
||||
my $conf_inc = new Config::General(
|
||||
-ConfigFile => $config{include_dir} . "/$c",
|
||||
-ConfigFile => $config{include_dir} . "/$c",
|
||||
-SplitPolicy => $options{s},
|
||||
);
|
||||
my %config_inc = $conf_inc->getall;
|
||||
while(my ($key, $val) = each(%config_inc)) {
|
||||
|
|
Loading…
Reference in New Issue