| 以下是引用片段:
修改文件. inc/check.postarticle.php 查找 $postdb[content] = preg_replace('/java script/i','java script',$postdb[content]); $postdb[content] = preg_replace('/<iframe ([^<>]+)>/i','<iframe \\1>',$postdb[content]); 删除即可 |
| 以下是引用片段: 我是一个频道里面需要用到谷歌地图,所以需要开启iframe 最后在频道文件夹下面的post.php 里面找到 $postdb[content]=preg_replace('/<iframe ([^<>]+)>/i','<iframe \\1>',$postdb[content]); 将其注释掉或者删除 即可发布 带iframe的地图了。 至于安全问题,后台不是可以设置用户组的发布iframe权限吗? 难道这个不行的?我没有测试过 不好说。 |
您看到此篇文章时的感受是: