Studyon Minte9.com
Magento




Config debug flag



	-- config.xml

	<?xml version="1.0">
	<config>
	    <default>
		<checkout>
		    <accept_donations>false</accept_donations>     
		</checkout> 
	    </default>
	</config>

	-- yourtemplate.phtml

	<php echo Mage::getStoreConfig('checkout/debug'); ?>


http://stackoverflow.com/questions/5733641/magento-how-can-i-have-a-debug-flag-in-my-magento-extension