官网:http://www.rrzcms.com/

tp开启调试模式:\vendor\topthink\framework\src\think\App.php   48


 /**
     * 应用调试模式
     * @var bool
     */
    protected $appDebug = true;

根目录下:.env文件APP_DEBUG = true

标签库文件地址:\extend\think\template\taglib\Rrz.php

1.织梦插件:http://www.rrzcms.com/plugininfo/12.html

{$item.pubtime|date='m-d'}

{$rrz.content|subtext=150}截取

{$item.brief|html_msubstr=###,0,150}去掉html标签截取

{$rrz.content|raw} 解析html标签
2.模板标签:http://doc.kbstore.cn/docs/rrzcms/keshihua

3.后台管理菜单/app/admin/config/menus.php



迁移到apache虚拟主机上

1.php7.2

2.apache下伪静态规则:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L]
</IfModule>
保存命名为.htaccess(注意有点)

https://blog.csdn.net/weixin_39926639/article/details/110302993


3.数据库文件:

首页的.env

/config/database.php

4..env文件不显示

5.http://www.rrzcms.com/newsinfo/4890.html


伪静态不用指向public

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论
返回
顶部