I generally rename the dir to, eg. cake_1.2.2.8120 like so:

app/
cake_1.2.2.8120/cake/

... and update index.php to point to it. That means I can switch back
very easily and always know exactly which version I'm running. Once an
upgrade is known working, I just get rid of the older version.

On Wed, May 6, 2009 at 10:42 AM, Dan <grip...@gmail.com> wrote:
>
> Always upgrade on a development server and test first. Upgrading can
> break things you wouldn't expect. For example, the recent change of
> the alphanumeric validation rule to support i18l characters broke the
> automatic Javascript error checking I use (the new regex isn't valid
> in JS). Instead of overwriting the cake directory I suggest moving it
> to something like cake.bak and just copy in the new cake. That way if
> something breaks you can easily switch back, diff files, etc.
> >
>

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

Reply via email to