首页 > 解决方案 > 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?

标签: cakephpconfig

解决方案


推荐阅读