cakephp - CakePHP v2.x - More then one set of config files
问题描述
I have "inherited" legacy CakePHP application which should be now deployed to multiply clients. I have search through the documentation for the version 2.x, but I was unable to find the following:
How can I easily store the different Config files for different clients? The reason is simple, each client will have different database details, different email setup ...
Should I have a default folder and for the other make a duplicate folder named Config_another_client_name folder and inside have a copy of those files? Does anyone have a better idea?
解决方案
推荐阅读
- asp.net - 如何在实体框架中映射一个点?
- python - 使用glom,如何连接可选字符串?
- aws-serverless - AWS 部署无服务器限制?
- asp.net-core-mvc - 向 Twilio 发送重定向 Uri 到同一控制器中的另一个操作
- css - 如何将伪类有效/无效与 Angular 表单控件验证器混合?
- influxdb - 在 influxdb 中显示具有相似名称的测量
- gcc - AVR-GCC Windows 与 Linux
- java - 如何基于两个列表创建二维数组
- asp.net - ASP.NET 站点:如何阻止脚本在 URL 中运行
- imacros - iMacro,点击手动执行javascript,但在iMacro中不起作用