MOPy 发表于 July 15, 2009 举报 Share 发表于 July 15, 2009 修改文件: IPB3\admin\applications\core\sources\classes\attach\class_attach.php 找到 header( "Content-Disposition: inline; filename=\"{$attach['attach_file']}\"" ); 修改成 if ( preg_match("/MSIE/", $_SERVER["HTTP_USER_AGENT"]) ){ header( "Content-Disposition: attachment; filename=\"" . urlencode($attach['attach_file']) . "\"" ); }else{ header( "Content-Disposition: inline; filename=\"" . $attach['attach_file'] . "\"" ); } 引用 Link to comment 分享至其他网站 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.