On Dec 24, 1:15 am, euromark <[email protected]> wrote: > @AD > the database.php is never included in any rep > it is the same for all environments so you can just drag and drop it > of COURSE this should be handled differently for ONLINE testing > enviroments, i agree
Why make any excpetion what so ever. Sharing config files leads to problems, it's about that simple. > > but it doesnt hurt to have the same file for local dev and live stage > and the core is the same as well of course. do you have a custom > core.php file for each environment? Yes. How many times have you accidentally changed your debug setting on your <not development> setup? Why are the security salts the same in all environments? Same argument for other settings - such as in my case: concatenate css/js files, live:yes everywhere else: no but there's no IF in the core file they're simply not the same contents. Perhaps this is more of a windows v linux thing, but imo "git pull" is the only server side upgrade mechanism you really need (whether you use something else to do it for you like capistrano - is up to you) and any drag and drop usage means a) manual process b) error prone hth, AD Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
