Skip to content

Commit

Permalink
Merge pull request #78 from drAlberT/patch-1
Browse files Browse the repository at this point in the history
Include custom config WHEN present
  • Loading branch information
sasanrose authored Oct 18, 2016
2 parents 46c1130 + 44c5125 commit 797e352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ final class app

protected function __construct()
{
$this->_data['config'] = include_once(file_exists('../config.dist.php') ? '../config.dist.php' : '../config.php');
$this->_data['config'] = include_once(file_exists('../config.php') ? '../config.php' : '../config.dist.php');
$this->_data['drivers'] = 'drivers/';
}

Expand Down

0 comments on commit 797e352

Please sign in to comment.