[thinkphp] 获取根目录绝对路径

$root = realpath(__ROOT__);

  

posted @ 2015-07-04 10:58  捕蛇者说  阅读(1437)  评论(0编辑  收藏  举报