Re: One cake application, multiple sites

2007-06-28 Thread quincy
That sounds like it could work. Thanks for all the help everyone, I've always managed to get good advice here with only the minimum of uncessesary forum attitude that is often found elsewhere!! These suggestions will definately set me on the path to getting a better setup for my purposes.

Re: One cake application, multiple sites

2007-06-28 Thread Chris Hartjes
On 6/28/07, quincy [EMAIL PROTECTED] wrote: That sounds like it could work. Thanks for all the help everyone, I've always managed to get good advice here with only the minimum of uncessesary forum attitude that is often found elsewhere!! These suggestions will definately set me on the path

Re: One cake application, multiple sites

2007-06-28 Thread Jonathan Langevin
He ain't lyin' :-) On 6/28/07, Chris Hartjes [EMAIL PROTECTED] wrote: On 6/28/07, quincy [EMAIL PROTECTED] wrote: That sounds like it could work. Thanks for all the help everyone, I've always managed to get good advice here with only the minimum of uncessesary forum attitude that is

One cake application, multiple sites

2007-06-27 Thread quincy
I apologise in advance becasue I know this has come up many times already, but I cannot seem to find the information I'm after. I want to be able to have a single installation of my cake app (a CMS) on a server, and run several sites from the same installation by simply using a different

Re: One cake application, multiple sites

2007-06-27 Thread Jonathan Langevin
if i were you, i'd check into the possibility of upgrading in the meantime, cake core already has the ability to be located elsewhere, as does the app folder, so your only true issue is using a different db config per site what I would do, is put your entire cms in a central accessible location,

Re: One cake application, multiple sites

2007-06-27 Thread Jonathan Langevin
btw, each webroot's index.php would need to be configured to know the cake core and app install locations On 6/27/07, Jonathan Langevin [EMAIL PROTECTED] wrote: if i were you, i'd check into the possibility of upgrading in the meantime, cake core already has the ability to be located

Re: One cake application, multiple sites

2007-06-27 Thread francky06l
Not much choice of having a separate webroot per config. You do not need a switch if in your index.php you define a value such as define('DBCONFIG', 'config1'), etc .. Then in your databse.php you can have multiple dbconfig having the name of the define. In app_model you can set $var $dbConfig =

Re: One cake application, multiple sites

2007-06-27 Thread rtconner
Or you can use the useDBConfig variable in your app_model file to override the db config for all models. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: One cake application, multiple sites

2007-06-27 Thread Jonathan Langevin
ah, cool feature that I was unaware of :-) here's an article that references it: http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2 On 6/27/07, rtconner [EMAIL PROTECTED] wrote: Or you can use the useDBConfig variable in your app_model file to override the

Re: One cake application, multiple sites

2007-06-27 Thread francky06l
Load balancing has not much to do with your original problem I guess On Jun 27, 7:13 pm, Jonathan Langevin [EMAIL PROTECTED] wrote: ah, cool feature that I was unaware of :-) here's an article that references it:http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-mast... On

Re: One cake application, multiple sites

2007-06-27 Thread Jonathan Langevin
sorry, not load-balancing specifically, but the act of using usdbconfig On 6/27/07, francky06l [EMAIL PROTECTED] wrote: Load balancing has not much to do with your original problem I guess On Jun 27, 7:13 pm, Jonathan Langevin [EMAIL PROTECTED] wrote: ah, cool feature that I was unaware of