|
我再视图中使用自定义的library中出现如下错误:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_Loader:checkcode
Filename: views/login.php
Line Number: 46
Fatal error: Call to a member function checkcode() on a non-object in C:\AppServ\www\CodeIgniter_1.7.1\system\application\views\login.php on line 46
这个library在控制器中正常使用,为什么到视图里面就不管用了呢? |
|