随笔 - 124,  文章 - 2,  评论 - 4,  阅读 - 92868
04 2020 档案
tp5 thinkphp5 伪静态修改 fastadmin
摘要:1、在nginx 配置文件中添加 if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } 如下 nginx 配置 location / { index index.html index.htm index. 阅读全文
posted @ 2020-04-20 14:38 独孤求败-独孤九剑 阅读(1908) 评论(0) 推荐(0) 编辑
ThinnkPHP内置视图循环语句
摘要:首先在控制器里查询数据库: 视图模板循环语句::: 阅读全文
posted @ 2020-04-14 16:45 独孤求败-独孤九剑 阅读(128) 评论(0) 推荐(0) 编辑
PHP禁止重写策略
摘要:禁止使用父类方法,使用关键字 final Class Notify { protected $color = 'red'; protected $credit = 10; public final function message() { return '<span style="color:'.$ 阅读全文
posted @ 2020-04-14 14:41 独孤求败-独孤九剑 阅读(194) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示