mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
8859242c5b
commit
c6be1c90aa
@ -50,7 +50,7 @@ void ApiListener::ConfigGlobHandler(Dictionary::Ptr& config, const String& path,
|
|||||||
Dictionary::Ptr ApiListener::LoadConfigDir(const String& dir)
|
Dictionary::Ptr ApiListener::LoadConfigDir(const String& dir)
|
||||||
{
|
{
|
||||||
Dictionary::Ptr config = new Dictionary();
|
Dictionary::Ptr config = new Dictionary();
|
||||||
Utility::GlobRecursive(dir, "*.conf", boost::bind(&ApiListener::ConfigGlobHandler, boost::ref(config), dir, _1), GlobFile);
|
Utility::GlobRecursive(dir, "*", boost::bind(&ApiListener::ConfigGlobHandler, boost::ref(config), dir, _1), GlobFile);
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user