tp5.0 走过的坑
2017-11-28 本文已影响0人
白云证心
在使用tp5.0中Loader::validate('AuthManager')的时候,一直提示说,在app\common\validate\auth;命名空间下没有找到该AuthManager类,
把所有代码都过了一遍,重点检查了命名空间,可是没有找到原因。直到thinkphp\library\think\Loader.php文件中public static functionvalidate()方法,认证排查了下,果然:

今天就到这里。