Saturday, 28 September 2013

cakephp multiple domains & Configure::write

cakephp multiple domains & Configure::write

Running multiple domains on one install. In bootstrap I have:
Configure::write('Application.name', 'example1.com');
Configure::write('Application.name', 'example2.com');
What's the best way to define these variables so that I can check my main
domain and set them up all at once?

No comments:

Post a Comment