提交留言表单后跳转到指定网址
- 步骤:
- 修改
core->function->helper.php
文件,第161行:phpecho '<script type="text/javascript">alert("' . clear_html_blank($info) . '");location.href="http://www.example.com";</script>';
- 将
http://www.example.com
替换为你需要跳转的网址。
- 将
- 清理后台缓存。
- 前台测试留言功能。
- 修改