Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
268 B
PHP
Raw Permalink Normal View History

#!/usr/bin/env php
2013-11-03 15:03:57 -08:00
<?php
/*
* Configuration to JSON converter
* Written by Job Snijders <[email protected]>
*
*/
2013-11-03 15:03:57 -08:00
use LibreNMS\Config;
$init_modules = ['nodb'];
require __DIR__ . '/includes/init.php';
2013-11-03 15:03:57 -08:00
if (App::runningInConsole()) {
echo Config::toJson();
2013-11-03 15:03:57 -08:00
}