Код: Выделить всё
public function actions()
{
return array(
'captcha'=>array(
'class'=>'CCaptchaAction',
'maxLength'=> 4,
'offset'=> 0,
'minLength'=> 3,
'foreColor'=> 0x888888,
'backColor'=> 0xffffff
),
'captcha2'=>array(
'class'=>'CCaptchaAction',
'maxLength'=> 4,
'offset'=> 0,
'minLength'=> 3,
'foreColor'=> 0xdddddd,
'backColor'=> 0x000000
)
);
}
Код: Выделить всё
array('verifyCode','captcha'),