mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Load defaults in wrapper
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
*/
|
||||
|
||||
$defaults_file = 'includes/defaults.inc.php';
|
||||
$config_file = 'config.php';
|
||||
|
||||
// move to observium install dir
|
||||
@ -24,6 +25,7 @@ function iscli() {
|
||||
|
||||
if ( iscli() ) {
|
||||
|
||||
require_once($defaults_file);
|
||||
require_once($config_file);
|
||||
print(json_encode($config));
|
||||
}
|
||||
|
Reference in New Issue
Block a user