首页 > thinkphp跨模块访问公共函数

thinkphp跨模块访问公共函数


这个是我的目录树,我想在模块Admin中的Controller中的一个action中调用另一个模块User中的公共方法common.php中的一个函数,请问应该怎么写?


只能这样咯。

include APP_PATH. 'User/Common/common.php';
【热门文章】
【热门文章】