0

我似乎无法正确安装 tank auth,我复制了文件,但每次访问 'localhost/auth' 时都会出现错误Unable to load the requested class: security

我能够找到的文档非常简单,并且没有涵盖此错误(或如何安装它)。我正在运行 WAMP 的 Windows 盒子上安装。但我计划在开发后将它移到运行 apache 的 linux 机器上。

想法?

4

1 回答 1

3

我在最新的 codeigniter 2.1.0 上遇到了同样的问题

注释$this->load->library('security');from auth.php 控制器将删除错误。Codeigniter 2.1.0 在核心自动加载安全类。

我已经用这些更改更新了我的仓库,希望有人觉得它有用,https://bitbucket.org/mtsandeep/tank-auth-with-roles/overview

于 2011-11-19T10:58:50.790 回答