Exemplo n.º 1
0
 /**
  * Upload the generated CAPTCHA to S3.
  *
  * @param string $id
  * @param string $word
  */
 protected function _generateImage($id, $word)
 {
     parent::_generateImage($id, $word);
     if ($this->getS3Helper()->checkS3Usage()) {
         $this->getS3Helper()->saveFile($this->getImgDir() . $this->getId() . $this->getSuffix());
     }
 }