Fix bin config value check

This commit is contained in:
Stepan Strelets 2017-03-16 18:52:10 +03:00 committed by Dmitry Khomutov
parent 232d1d3195
commit 9f232fde17

View file

@ -35,7 +35,7 @@ class Mage extends \PHPCensor\Plugin
parent::__construct($builder, $build, $options);
$config = $builder->getSystemConfig('mage');
if (isset($config['bin'])) {
if (!empty($config['bin'])) {
$this->mage_bin = $config['bin'];
}