Skip to content

Commit

Permalink
Fix incorrect conf_dir variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cez81 committed Nov 20, 2017
1 parent 08f04ae commit d078f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host_view.php
Expand Up @@ -79,10 +79,10 @@ function getOptionalReports($hostname,
json_decode(file_get_contents($conf_dir . "/default.json"),
TRUE));
}
if ( is_file($conf['conf_dir'] . "/default_host.json") ) {
if ( is_file($conf_dir . "/default_host.json") ) {
$default_reports = array_merge(
$default_reports,
json_decode(file_get_contents($conf['conf_dir'] . "/default_host.json"),
json_decode(file_get_contents($conf_dir . "/default_host.json"),
TRUE));
}

Expand Down

0 comments on commit d078f27

Please sign in to comment.