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

$root = realpath(__ROOT__);

  

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