1. 建立文件 ext_conf_template.txt
内 容:
# cat=basic; type=boolean; label=Use TTF: When set the captcha will get generated using TTF font rendering functions which will result in much more readable captchas
useTTF = 0
# cat=basic; type=integer; label=Image width: The width of the captcha image
imgWidth = 95
# cat=basic; type=string; label=Obfuscation color: The color of the obfuscating ellipses
obfusccolor = #c0c0c0
等 等
取值:
$newarray = unserialize($TYPO3_CONF_VARS[‘EXT’][‘extConf’][‘插件的key’]);
unserialize($GLOBALS[‘TYPO3_CONF_VARS’][‘EXT’][‘extConf’][‘toctoc_comments’]);
unserialize($GLOBALS[‘TYPO3_CONF_VARS’][‘EXT’][‘extConf’][$this->extKey]);
效 果图