thinkphp 404页面定制
来源:互联网 发布:证件照 软件 编辑:程序博客网 时间:2024/06/05 20:16
404页面制作
1.config.php
'TMPL_EXCEPTION_FILE'=>'./Public/Tpl/error.html'
2.404.html
1.config.php
'TMPL_EXCEPTION_FILE'=>'./Public/Tpl/error.html'
2.404.html
见404.html
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>thinkphp 404页面</title><script type="text/javascript">window.onload=function(){setTimeout(function(){window.location.href='<?php echo __APP__; ?>';},5000);}</script></head><body><div><p><?php echo $e['message'];?></p><div>页面将会在5秒后跳转 或直接点击 <a href="<?php echo __APP__;?>">返回首页面</a></div></div></body></html>
阅读全文
0 0
- thinkphp 404页面定制
- thinkphp 错误页面404定制
- thinkphp 中定制success和error提示跳转页面
- thinkphp 404页面设置
- thinkphp 404页面设置
- thinkphp 404页面设置
- Thinkphp 配置404页面
- thinkphp 设置404页面
- thinkphp自定义404页面
- ThinkPHP自定义404页面
- thinkphp自定义404页面
- Java Web应用定制404错误页面
- yii框架404页面的定制
- Thinkphp 中自定义404错误页面
- Thinkphp 404错误页面 会导致漏洞
- Thinkphp 404错误页面 会导致漏洞
- ThinkPHP的404页面设定方式
- ThinkPHP 3.1 404页面的设置
- (八)ElasticSearch常用查询语法
- angular表单校验-模板驱动表单校验
- 文章标题 Coderforces 343D : Water Tree(dfs序+线段树)
- 使用 nice、bulimic 和 cgroups 限制 cpu 占用率
- opencv_highgui错误
- thinkphp 404页面定制
- 39. Combination Sum
- Castle
- git stash使用
- 《全神贯注的方法》
- html对页面布局的初步理解
- java设计模式--Template模板模式
- 可平移缩放旋转的ImageView的实现
- 10个重要的Linux ps命令实战