Skip to content

Commit

Permalink
feat(config): Look for additional configuration in config/console.con…
Browse files Browse the repository at this point in the history
…fig.php

Suggestion for #2
  • Loading branch information
ariddlestone committed Feb 6, 2020
1 parent 8c3df4e commit f6a38cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/brokkr
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ if (is_file($autoload = APPLICATION_PATH . '/vendor/autoload.php')) {

$configuration = include APPLICATION_PATH . '/config/application.config.php';

if (file_exists(APPLICATION_PATH . '/config/console.config.php')) {
$configuration = ArrayUtils::merge($configuration, include APPLICATION_PATH . '/config/console.config.php');
}

if (file_exists(APPLICATION_PATH . '/config/development.config.php')) {
$configuration = ArrayUtils::merge($configuration, include APPLICATION_PATH . '/config/development.config.php');
}
Expand Down

0 comments on commit f6a38cc

Please sign in to comment.