:(
call to undefined function home\controller\show()
错误位置
file: d:\php_demo\wxtest\application\home\controller\indexcontroller.class.php line: 11
thinkphp3.2.3 { fast & simple oop php framework } -- [ we can do it just think ]
我自定义的函数为:
;}
以前的版本好像是定义在在application/common/common.php下的,但3.2.3版本不行,正确的做法是
定义路径为:common/common/function.php而不是common.php和functions.php
调用
结果:
以上就介绍了thinkphp323自定义函数库,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
