Fix bin config value check
This commit is contained in:
parent
232d1d3195
commit
9f232fde17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue