Authentication 设置代码点火器3 HMVC带油箱认证
我试图在HMVC的CodeIgniter中安装Auth Tank,但没有成功。 我做了以下工作:Authentication 设置代码点火器3 HMVC带油箱认证,authentication,codeigniter-3,hmvc,tankauth,codeigniter-hmvc,Authentication,Codeigniter 3,Hmvc,Tankauth,Codeigniter Hmvc,我试图在HMVC的CodeIgniter中安装Auth Tank,但没有成功。 我做了以下工作: 我在数据库中创建了表 我把文件夹(配置、控制器、助手、语言、库、模型、视图)放在modules/auth/中 在application/config/routes.php中,我将路由添加到了Auth池中:$route[“Auth”]=“Auth/login” 在Controllerauth.php中,我更改了$this->lang->load('tank_auth')至$this->lang->l
- 我在数据库中创建了表李>
- 我把文件夹(配置、控制器、助手、语言、库、模型、视图)放在
中李>modules/auth/
- 在
中,我将路由添加到了Auth池中:application/config/routes.php
$route[“Auth”]=“Auth/login”代码>李>
- 在Controller
中,我更改了auth.php
$this->lang->load('tank_auth')代码>至
$this->lang->load('auth/tank_auth')代码>
- 我更改了控制器文件以扩展我的\u控制器(扩展MX\u控制器)
- 在Controller