【发布时间】:2013-03-28 08:31:07
【问题描述】:
我在我的 codeigniter 应用中使用 Tank_Auth 进行注册。 我启用了验证码注册,但它没有显示。
我将文件夹修改为 777 并且路径正确,所以它应该会显示出来。
我的 Tank_auth.php 配置文件:
$config['captcha_path'] = './application/captcha/';
$config['captcha_fonts_path'] = './application/captcha/fonts/5.ttf';
$config['captcha_width'] = 200;
$config['captcha_height'] = 50;
$config['captcha_font_size'] = 14;
$config['captcha_grid'] = FALSE;
$config['captcha_expire'] = 180;
$config['captcha_case_sensitive'] = TRUE;
我有一个 .htacces 文件,所以这可能是问题所在。
我的验证码文件夹存储在httpdocs/application/captcha
我的字体在httpdocs/application/captcha/fonts/
它向我展示了这个:
【问题讨论】:
标签: php codeigniter captcha tankauth