*/ class Mage_Install_Block_Download extends Mage_Install_Block_Abstract { public function __construct() { parent::__construct(); $this->setTemplate('install/download.phtml'); } /** * Retrieve locale data post url * * @return string */ public function getPostUrl() { return $this->getUrl('*/*/downloadPost'); } public function getNextUrl() { return Mage::getModel('install/wizard') ->getStepByName('download') ->getNextUrl(); } public function hasLocalCopy() { $dir = Mage::getConfig()->getModuleDir('etc', 'Mage_Adminhtml'); if ($dir && file_exists($dir)) { return true; } return false; } }