Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function actions()
- {
- return [
- 'error' => [
- 'class' => 'yii\web\ErrorAction',
- ],
- 'captcha' => [
- 'class' => 'yii\captcha\CaptchaAction',
- 'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null,
- // here
- 'foreColor' => '0x55FF00',
- 'transparent' => false,
- 'fontFile' => '@frontend/web/fonts/Montserrat-Regular.ttf',
- ],
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement