From 99a7044a3f79d7ad9851050820ba70f9d59e2edb Mon Sep 17 00:00:00 2001 From: Stepan Strelets Date: Thu, 23 Mar 2017 15:56:37 +0300 Subject: [PATCH] Add interpolate config value for mage plugin --- src/PHPCensor/Plugin/Mage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PHPCensor/Plugin/Mage.php b/src/PHPCensor/Plugin/Mage.php index 483c9d74..b8568098 100644 --- a/src/PHPCensor/Plugin/Mage.php +++ b/src/PHPCensor/Plugin/Mage.php @@ -40,7 +40,7 @@ class Mage extends \PHPCensor\Plugin } if (isset($options['env'])) { - $this->mage_env = $options['env']; + $this->mage_env = $builder->interpolate($options['env']); } }