会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
捕蛇者说
博客园
首页
新随笔
联系
订阅
管理
2015年7月4日
[thinkphp] 是如何输出一个页面的
摘要: 表面上看,TP输出一个页面很简单:$this->display();实际上是怎么回事呢?$this->display(); 这个display()方法是定义在ThinkPHP/Library/Think/Controller.class.php这个文件中的protected function dis...
阅读全文
posted @ 2015-07-04 11:17 捕蛇者说
阅读(2072)
评论(0)
推荐(0)
编辑
[thinkphp] 获取根目录绝对路径
摘要: $root = realpath(__ROOT__);
阅读全文
posted @ 2015-07-04 10:58 捕蛇者说
阅读(1433)
评论(0)
推荐(0)
编辑
公告