Refactored local.xml to Mage::getConfig for memcache & redis