Fix bin config value check
This commit is contained in:
parent
232d1d3195
commit
9f232fde17
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue