All Articles

Want to output the full xml config Magento is running?

Mage::getConfig()->getNode()->asNiceXml('full_config.xml');

Where full_config.xml is the file you want it dumped to.

Published 27 Jan 2011

Code. Comics. Crossfit
Tim Broder on Twitter