Config XML tree magento generates

To get the config xml in its entirety.

Mage::app()->getConfig()->getXmlString();

OR

file_put_contents(Mage::getBaseDir('tmp').DS.'configxml.xml', Mage::app()->getConfig()->getXmlString());

Leave a comment