codeigniter - Simple Codeigniter + HMVC working but how can i working with multiple CI instance like admin and front
问题描述
First of thank you for my help. I am using CI.3.0 ver. I am using simple CI with HMVC but when i am creating seperate CI then it will not work can any one help me.
MY actutal URL http://localhost/cms/admin.php?c=users&m=data
Like http://localhost/cms/admin.php/users
but this is called application/admin/controller/user.php
But i want to call module wise like call this one
application/admin/modules/users/controller/user.php
My Folder structure are below:
-application
--admin
---cache
---config
---controllers
---- Users.php
---core
---helpers
---hooks
---language
---libraries
---log
---models
---modules
---- users
------controllers
--------Users.php
------model
------Views
---third_party
----MX
Base.php
Ci.php
Controller.php
..
..
Router.php
---views
---.htaccess
--common
---cache
---ci_session
---helpers
---libraries
--frontend
---cache
---config
---controllers
---core
---helpers
---hooks
---language
---libraries
---log
---models
---modules
---third_party
---views
---.htaccess
-resource
-system
-index.php
-admin.php
.htaccess
解决方案
推荐阅读
- colors - CGAL Triangulation_3 上的色点
- python - 使用 python api 的数据帧
- java - nattable group by 功能可以用来排序吗?
- windows - 从文本文件复制文件的批处理脚本
- c++ - 了解模板函数(在 .h 中的源代码)如何与其编译的 .lib 相关
- ios - 如何使用 NavigationController 将数据从 UIPickerView 传递到上一个 ViewController
- angular - 异步功能:TS1068:意外令牌。需要构造函数、方法、访问器或属性
- node.js - s3-streams 缺少环境 AWS_REGION
- ruby - 在Ruby中对哈希中的某些值求和
- javascript - eval() JavaScript 内存泄漏