gd生成的图片直接输出到浏览器,
修改:system/helpers/captcha_helper.php,316行以后修改为如下:
// ----------------------------------- // Generate the image // -----------------------------------
header('Content-Type: image/png'); imagepng($im);
gd生成的图片直接输出到浏览器,
修改:system/helpers/captcha_helper.php,316行以后修改为如下:
// ----------------------------------- // Generate the image // -----------------------------------
header('Content-Type: image/png'); imagepng($im);