Merge remote-tracking branch 'jeremy/logicsplit'

Conflicts:
	Generator/CaptchaGenerator.php
	Resources/config/services.yml
This commit is contained in:
Gregwar
2012-12-04 11:42:35 +01:00
4 changed files with 363 additions and 222 deletions

View File

@ -1,6 +1,4 @@
services:
# captcha type
captcha.type:
class: Gregwar\CaptchaBundle\Type\CaptchaType
arguments:
@ -15,8 +13,17 @@ services:
arguments:
- @session
- @router
- @gregwar_captcha.image_builder
- @gregwar_captcha.image_file_handler
- %gregwar_captcha.config.whitelist_key%
gregwar_captcha.image_file_handler:
class: Gregwar\CaptchaBundle\Generator\ImageFileHandler
arguments:
- %gregwar_captcha.config.image_folder%
- %gregwar_captcha.config.web_path%
- %gregwar_captcha.config.gc_freq%
- %gregwar_captcha.config.expiration%
- %gregwar_captcha.config.whitelist_key%
gregwar_captcha.image_builder:
class: Gregwar\CaptchaBundle\Generator\ImageBuilder