mantis注册的时候验证码就是看不到

Posted on Posted in 经验分享
有2 种方法,第一种检查中文相关配置,第二种,关闭验证码。
1,跟中文有关,需要检查。

/**

	 * use captcha image to validate subscription it requires GD library installed
	 * @global int $g_signup_use_captcha
	 */
	$g_signup_use_captcha	= ON;

	/**
	 * absolute path (with trailing slash!) to folder which contains your TrueType-Font files
	 * used to create the captcha image and since 0.19.3 for the Relationship Graphs
	 * @global string $g_system_font_folder
	 */
	$g_system_font_folder	= '';

	/**
	 * font name used to create the captcha image. i.e. arial.ttf
	 * (the font file has to exist in the system_font_folder)
	 * @global string $g_font_per_captcha
	 */
2.关闭验证码:

请在config_inc.php中增加这三个参数并修改为你要的。

如不设验证码,就加一行:

$g_signup_use_captcha = OFF;