示例#1
0
 public function captchaAction()
 {
     $captcha = new CaptchaSecurityImages();
     $code = $captcha->generateCode(5);
     $captcha->CaptchaImages($code);
     $this->session->set('verify', $code);
 }