Wednesday, March 27, 2013

Re: Update from Cakephp 2.3.0 to 2.3.1

Yes, replacing the lib folder should be enough.
what I do, is to organize the cake version I use on one folder. Then I make a junction from my app directory to the lib folder.
Junction it's like a symlink on *nix. So upgrade or downgrade from a different version of cake, only takes a second. On the other hand, it allows me to have only one single copy of cake for my different apps.



El jueves, 14 de marzo de 2013 19:56:39 UTC-3, cricket escribió:
On Wed, Mar 13, 2013 at 11:51 AM, kaiszy <kaik...@googlemail.com> wrote:
> Hi again ;)
>
> Sorry for my fuzzy mail ;)
>
> For example i modify
>
>    cakeroot/app/Controller/AppController.php
>    cakeroot/app/View/Layouts/defaults.ctp
>    a.s.o.
>
> These files are (ofcourse ;) also in then distribution archiv.

Do you mean your project's root, or the lib folder? It can be
confusing because there's a:

lib/Cake/Controller/AppController.php

and:

app/Controller/AppController.php

Both app and lib should be at the same level.

The files in app are the ones you should modify. Don't make changes to
anything in lib.

> So i ask myself: What is the best practice to update Cakephp Installations
> (maybe compare app-File-by-file),

If the lib folder is untouched you're good to go. Download the version
you want and replace the lib folder. (Re-name the old one so you can
easily switch back.) You can also do this with git but if you're not
sure it's best to do it manually.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: