无法访问codeigniter superobject进入钩子和uri

时间:2016-08-07 10:09:14

标签: php codeigniter hook

我首先调用超级对象并添加此承包商

$this->CI =& get_instance();

但是当我想访问

print_r($this->CI->router->fetch_class());

它显示错误 Trying to get property of non-object

0 个答案:

没有答案