用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1105|回复: 3
收起左侧

[HELP] 新新新手问题

[复制链接]
发表于 2016-4-16 15:56:38 | 显示全部楼层 |阅读模式
  public function __construct()
24     {
25         parent::__construct();
26         $login_check_function = array(
27             "create",
28             "createPost",
29             "commentPost"
30             );
31         $this->login_check($login_check_function);
32     }
$this->login_check()这个函数应该在哪里?在哪定义的
发表于 2016-4-16 19:51:25 CI中国手机版 | 显示全部楼层
这个不是 CI 的函数
发表于 2016-4-18 16:23:59 | 显示全部楼层
这个函数应该你写在本控制器内部调用!   首先得有这个函数
 楼主| 发表于 2016-4-24 13:18:09 | 显示全部楼层
谢谢,我找到了

本版积分规则