I've got that going right now, based on a blog post or an article.

Basically, I've got a directory like this:

web
- app1
- app2
- src
  - cake.v1
  - cake.v2

I put my full versioned cake install into the source directory (right
now I have cake_1.2.05875-pre-beta and cake_1.2.06311-beta, for
example). Then I copy just the app folder to app1, app2, etc.

Then all you have to do is point each application to your codebase.
You can do this in your app/webroot directory by changing the lines
containing CAKE_CORE_INCLUDE_PATH in your index.php and test.php (you
could also centralize it into a single setting that both read from,
but changing both lines is pretty easy). So currently in my index.php
it reads:

 define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'src'. DS .
'cake_1.2.0.6311-beta');


This allows you to have multiple apps, each running different versions
of cake (not that you'd want to - but you could), and allows you to
switch between versions quickly and easily. If you move to a new
version and it bombs, you can quickly move back.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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