Global db.xml?

Permalink 1 user found helpful
Hi

I'd like to setup some databases for my application.
So far I've put them all in the db.xml for a block I wrote, but they're not really related to a particular block.

I haven't made a package - and probably won't.

So where can I put my 'global db.xml'?

Cheers
Russell

russellfeeed
 
jbx replied on at Permalink Best Answer Reply
jbx
Sure, create a config/site_db.xml.
Then go to dashboard -> Sitewide Settings -> debug and in the bottom right is a tick box to refresh any custom database tables held in that file.

Jon

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.