checkRequirements() public static method
Checks if there is graphic extension available to generate CAPTCHA images.
This method will check the existence of ImageMagick and GD extensions.
public static string checkRequirements ( ) | ||
---|---|---|
return | string |
The name of the graphic extension, either "imagick" or "gd". |
throws | yii\base\InvalidConfigException |
if neither ImageMagick nor GD is installed. |
Please login to continue.