Don't require db for config_to_json.php (#10100)

DB is still used if available.
This commit is contained in:
Tony Murray 2019-04-17 22:11:40 -05:00 committed by GitHub
parent a08b8333cc
commit d5ea3d42bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
use LibreNMS\Config;
$init_modules = array();
$init_modules = ['nodb'];
require __DIR__ . '/includes/init.php';
if (isCli()) {