예제 #1
0
 protected function _construct()
 {
     if (isset($_GET['debug_back']) && $_GET['debug_back'] == '1') {
         $this->setIsDebugMode(true);
     }
     return parent::_construct();
 }
예제 #2
0
 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);
 }