thinkphp5.1里面APP_PATH不能随便修改
2023-03-29 23:03:03
210
{{single.collect_count}}

APP_PATH常量默认是tp51/tp5/public\

一旦随意修改了之后,那么就会报错。

Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'include(): Filename cannot be empty' in F:\wamp64\www\web\think_git\thinkphp\library\think\exception\Handle.php on line 184

 

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}