Reorganized captcha code.

This commit is contained in:
Qiang Xue 2013-08-03 07:20:39 -04:00
parent 7f05967cf5
commit da0afe1957
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class SiteController extends Controller
{
return array(
'captcha' => array(
'class' => 'yii\web\CaptchaAction',
'class' => 'yii\captcha\CaptchaAction',
'fixedVerifyCode' => YII_ENV_DEV ? 'testme' : null,
),
);

View File

@ -1,7 +1,7 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\widgets\Captcha;
use yii\captcha\Captcha;
/**
* @var yii\base\View $this