Added functionality to generate image files for older browsers.

This commit is contained in:
Bjoern Fromme
2011-11-09 14:43:25 +01:00
parent 22da6b0256
commit 572b58a41a
6 changed files with 110 additions and 18 deletions

View File

@ -3,6 +3,6 @@ services:
# captcha type
captcha.type:
class: Gregwar\CaptchaBundle\Type\CaptchaType
arguments: [@session, %gregwar_captcha.width%, %gregwar_captcha.height%, %gregwar_captcha.length%]
arguments: [ "@session", %gregwar_captcha.width%, %gregwar_captcha.height%, %gregwar_captcha.length%, %gregwar_captcha.as_file%, %gregwar_captcha.image_folder%, %gregwar_captcha.web_path% ]
tags:
- { name: form.type, alias: captcha }