Skip to content

Commit

Permalink
Load defaults in wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgear committed Dec 17, 2013
1 parent 58620f5 commit 3306768
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config_to_json.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

$defaults_file = 'includes/defaults.inc.php';
$config_file = 'config.php';

// move to observium install dir
Expand All @@ -24,6 +25,7 @@ function iscli() {

if ( iscli() ) {

require_once($defaults_file);
require_once($config_file);
print(json_encode($config));
}
Expand Down

0 comments on commit 3306768

Please sign in to comment.