CI_Controller继承出错呀!求各位大神看看是为什么呀!
本帖最后由 fragilevil 于 2013-3-13 10:57 编辑版本是2.13版本的
class Check_user extends CI_Controller{
public function __construct()
{
parent::__construct();
}
}
以上是我写的代码
错误信息是:Class ‘CI_Controller’ not found in...
查了资料看大家application里面的core文件夹是有东西的…!
为什么我的core文件夹只有一个index.html!!。。
小女子求助各位大神了!毕业设计在不写就没有时间了呀!……T^T
拜谢!
重新下載吧...裡面包含index.html 應該要有17個文件
補充:是system/core 還是 application/core ? 如果是application/core的話是正常 bax 发表于 2013-3-13 01:43 static/image/common/back.gif
重新下載吧...裡面包含index.html 應該要有17個文件
system里面的core真的也是有17个文件的,可是它就是报错说找不到CI_Controller……请问这个是怎么回事呢? fragilevil 发表于 2013-3-13 09:52 static/image/common/back.gif
system里面的core真的也是有17个文件的,可是它就是报错说找不到CI_Controller……请问这个是怎么回事呢 ...
可不可以帖出完整的Check_user.php ? bax 发表于 2013-3-13 09:58 static/image/common/back.gif
可不可以帖出完整的Check_user.php ?
啊~这个终于弄好了~原来我一直忘了贴第一句……就是那个IF……不过新的问题来了……T^T新问题还好难描述阿……
页:
[1]