mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Remove legacy db config Should be configured via the environment or .env. * Lint fix * Remove call to removed method
18 lines
268 B
PHP
Executable File
18 lines
268 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/*
|
|
* Configuration to JSON converter
|
|
* Written by Job Snijders <job@instituut.net>
|
|
*
|
|
*/
|
|
|
|
use LibreNMS\Config;
|
|
|
|
$init_modules = ['nodb'];
|
|
require __DIR__ . '/includes/init.php';
|
|
|
|
if (App::runningInConsole()) {
|
|
echo Config::toJson();
|
|
}
|