【发布时间】:2014-01-30 18:27:19
【问题描述】:
我在 CodeIgniter 中使用 HMVC 扩展。我有一个像
这样的模块 moduleName
config
config.php
routes.php
controller
test.php
models
etc..
来自test.php 我试图从上面的模块文件夹加载自定义配置项。
但它不起作用。我像class Test extends MX_Controller {} 一样扩展我的课程@
我尝试从模块文件夹之外的默认配置文件夹和its working加载配置项
根据this post,模块配置应该在模块初始化时加载。但它不起作用。
我在这里错过了什么?
【问题讨论】:
标签: php codeigniter codeigniter-2 codeigniter-hmvc