added ignore_all_effects to configuration
This commit is contained in:
parent
a16743a230
commit
3ad62e4d0d
@ -45,6 +45,7 @@ class Configuration implements ConfigurationInterface
|
||||
->arrayNode('text_color')->prototype('scalar')->end()->end()
|
||||
->arrayNode('background_color')->prototype('scalar')->end()->end()
|
||||
->arrayNode('background_images')->prototype('scalar')->end()->end()
|
||||
->scalarNode('ignore_all_effects')->defaultValue(false)->end()
|
||||
->end()
|
||||
;
|
||||
|
||||
|
@ -123,6 +123,9 @@ class CaptchaGenerator
|
||||
// set background images
|
||||
$this->builder->setBackgroundImages($options['background_images']);
|
||||
|
||||
// set ignore all effects
|
||||
$this->builder->setIgnoreAllEffects($options['ignore_all_effects']);
|
||||
|
||||
$content = $this->builder->build(
|
||||
$options['width'],
|
||||
$options['height'],
|
||||
|
Loading…
Reference in New Issue
Block a user