使用$CI =& get_instance()无法读取CI原始类?
//$this->load->library('upload', $config); //My_upload 使用正常//某个特定情况需要使用CI原始类,采用如下方法
$CI =& get_instance();
$CI->load->library('upload', $config);
$CI->upload->do_upload() //报错路经不对
error Array ( =>The upload path does not appear to be valid.)
当去掉My_upload.php 文件后,上面才执行正确的原始类。奇怪?
页:
[1]