Thanks for the answers.
I am going to check that and see what is the easiest way...


BrendonKoz wrote:
> ...or you could use mod_rewrite.  :)
>
> The difficulty would be detecting the path for your core database
> config to determine which database to use depending on the requested
> path.  I can't currently see how it could be done, but I don't think
> it would require all that much work so long as all of the files will
> in fact remain exactly the same but with different images/js/css and
> database data.
>
>
> On Jul 17, 11:20 am, the_woodsman <[EMAIL PROTECTED]> wrote:
>   
>> I'm sure Cake could make this easier, but I believe it's the wrong
>> tool for the job.
>>
>> You want to be using version control, i.e subversion.
>> You can then easily branch your code for myproject, and merge changes
>> from one app to the other as you need.
>>
>> On Jul 17, 1:44 pm, Pierre MARCOURT <[EMAIL PROTECTED]> wrote:
>>
>>     
>>> Hi,
>>>       
>>> I made a project in CakePHP for my company at 
>>> :http://www.website.com/myproject
>>> The thing is the company does not use CakePHP, so I had to install it in
>>> the directory /myproject
>>> The project was supposed to be used only by my company, but, victim of
>>> his success ;-), I have to set up the same project for another company
>>> athttp://www.website.com/project-orther-company
>>> The thing is, i don't want to duplicate all my files, because if I make
>>> an update, i will have to do it twice (and maybe more if I have to set
>>> it up for more company).
>>> The main difference is the connection to the database, because we don't
>>> want them to use the same as us.
>>> Plus, in my JavaScript files the path will change, /myproject should be
>>> replaced by /project-orther-company
>>> I don't know if there is an easy way to do that thanks to CakePHP ?
>>>       
>>> Thanks for your help....
>>>       
>>> --
>>>  *Pierre MARCOURT*
>>>       
>>> *IT Department*
>>>         *CableOrganizer.com*
>>> 5610 NW 12th Ave, suite 214
>>> Fort Lauderdale, FL 33304
>>>       
>>>         Phone: 954-861-6310
>>> Fax: 954-861-2001
>>>       
> >
>   


-- 
 *Pierre MARCOURT*      
         
*IT Department*         
        *CableOrganizer.com*
5610 NW 12th Ave, suite 214
Fort Lauderdale, FL 33304
 

        
        Phone: 954-861-6310
Fax: 954-861-2001


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to