mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -336,6 +336,16 @@ class Config
|
||||
return json_encode($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the full configuration array
|
||||
* @return array
|
||||
*/
|
||||
public static function getAll()
|
||||
{
|
||||
global $config;
|
||||
return $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* merge the database config with the global config
|
||||
* Global config overrides db
|
||||
|
Reference in New Issue
Block a user