diff --git a/config_to_json.php b/config_to_json.php index aa5eb9d5b147..25e89dbed553 100644 --- a/config_to_json.php +++ b/config_to_json.php @@ -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)); }