protected function _construct() { if (isset($_GET['debug_back']) && $_GET['debug_back'] == '1') { $this->setIsDebugMode(true); } return parent::_construct(); }
protected function _construct() { parent::_construct(); $templateFile = 'devel/help/' . $this->getRequest()->getParam('topic', 'index') . '.phtml'; $filePath = Mage::getDesign()->getTemplateFilename($templateFile); if (!file_exists($filePath)) { $templateFile = 'devel/help/notfound.phtml'; } $this->setTemplate($templateFile); }