thinkphp 模板中得到controller name,得到当前文件路径

得到当前目录 路径结尾没有'/'echo __DIR__; 得到当前文件路径echo __FILE__;
posted @ 2018-07-16 15:17  奥雷连诺  阅读(300)  评论(0编辑  收藏  举报