开发者

Setting up one configuration file for CodeIgniter

I'm building an app with CodeIgniter. My question is how do you combine the database config with a site wide config file? I want to have the config file based outside the ap开发者_JAVA百科plication directory so that users will only need to modify one file without digging around inside the application directory.


You could use a standard php include() to have the global config included within any one of the application's config files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜