示例#1
0
 /**
  * Ensure that we are not in admin area and that
  * the module is enabled.
  *
  * @return bool
  */
 protected function _beforeModuleMatch()
 {
     if (Mage::getStoreConfigFlag('rootd_link/options/enabled')) {
         return parent::_beforeModuleMatch();
     }
     return false;
 }