diff --git a/common/config/config.php b/common/config/config.php index a73712a..236d9a9 100644 --- a/common/config/config.php +++ b/common/config/config.php @@ -1,6 +1,6 @@ '1.1.13', + 'version' => '1.1.14', 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'components' => [ 'cache' => [ @@ -79,6 +79,11 @@ return [ ], ], ], + 'container' => [ + 'definitions' => [ + GuzzleHttp\ClientInterface::class => GuzzleHttp\Client::class, + ], + ], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', diff --git a/console/controllers/CleanupController.php b/console/controllers/CleanupController.php index 9284479..6e47ad4 100644 --- a/console/controllers/CleanupController.php +++ b/console/controllers/CleanupController.php @@ -6,6 +6,11 @@ use yii\console\Controller; class CleanupController extends Controller { + public function actionTest() { + $validator = \Yii::createObject(\api\components\ReCaptcha\Validator::class); + var_dump($validator); + } + public function actionEmailKeys() { $query = EmailActivation::find(); $conditions = ['OR'];