remove comments

This commit is contained in:
Ivan Lackovic 2015-05-19 20:20:14 +02:00
parent 6a147a2ea3
commit 232168d408
2 changed files with 1 additions and 4 deletions

View File

@ -124,10 +124,7 @@ class CaptchaGenerator
$fingerprint = isset($options['fingerprint']) ? $options['fingerprint'] : null; $fingerprint = isset($options['fingerprint']) ? $options['fingerprint'] : null;
// set background images
$this->builder->setBackgroundImages($options['background_images']); $this->builder->setBackgroundImages($options['background_images']);
// set ignore all effects
$this->builder->setIgnoreAllEffects($options['ignore_all_effects']); $this->builder->setIgnoreAllEffects($options['ignore_all_effects']);
$content = $this->builder->build( $content = $this->builder->build(

View File

@ -143,7 +143,7 @@ number of lines depends on the size of the image). (default=null)
* **background_color**: sets the background color, if you want to force it, this should be an array of r,g &b, for instance [255, 255, 255] will force the background to be white * **background_color**: sets the background color, if you want to force it, this should be an array of r,g &b, for instance [255, 255, 255] will force the background to be white
* **background_images**: Sets custom user defined images as the captcha background (1 image is selected randomly). It is recommended to turn off all the effects on the image (ignore_all_effects). The full paths to the images must be passed. * **background_images**: Sets custom user defined images as the captcha background (1 image is selected randomly). It is recommended to turn off all the effects on the image (ignore_all_effects). The full paths to the images must be passed.
* **interpolation**: enable or disable the interpolation on the captcha * **interpolation**: enable or disable the interpolation on the captcha
* **ignore_all_effects**: Recommended to use when passing background images, will disable all image effects. * **ignore_all_effects**: Recommended to use when setting background images, will disable all image effects.
Example : Example :