cancel
Showing results for 
Search instead for 
Did you mean: 

Which files altered by upgrade?

Which files altered by upgrade?

I've looked everywhere for the answer to this and apologies if it's obvious - but which files can be altered/effected by an upgrade?

 

I need to make some tweaks to site and want to make sure that it won't be effected by future upgrades.   

Are you able to advise please?   Much appreciated in advance!

2 REPLIES 2

Re: Which files altered by upgrade?

The standing order for Magento is "never modify core files"

 

Always create modules to do any code overrides, always create your own theme folders in app/design/frontend/default/ and skin/frontend/default/ and always put your layout changes in local.xml in your theme folder

 

The easiest method is to merely download the zip file for your version, expand it out on your hard drive on your local workstation and peruse the file system. Everything contained in that archive will overwrite everything on your system you will be upgrading.

 

Archived installer files availabe here under the download and release archive tabs.

 

Here are some of the files/folder trees to keep your changes out of:

 

Install will overwrite all .htaccess files in any folder tree necessary to preserve Magento's security including the one you will add a lot of customization to in your Magento root folder (always have a backup stored off server)

 

app/code/core/*

app/design/adminhtml/*

app/design/frontend/base/*

app/design/frontend/default/*  <= all Magento supplied themes but your own

app/design/install/*

downloader/*

errors/*

includes/*

js/*  <= except any separate subfolders you may add

lib/*

shell/*

skin/admin/html/*

skin/frontend/base/*

skin/frontend/default/*   <= all Magento supplied themes but your own

skin/frontend/install/*

var/connect

var/package

Re: Which files altered by upgrade?

Excellent - thank you for the clarification.