Beispiel #1
0
 /**
  * Dispatch event before action
  *
  * @return void
  */
 public function preDispatch()
 {
     $this->setFlag('', self::FLAG_NO_CHECK_INSTALLATION, true);
     if (!Mage::isInstalled()) {
         Mage::helper('Mage_Install_Helper_Data')->cleanVarFolder();
     }
     return parent::preDispatch();
 }
 public function preDispatch()
 {
     if (Mage::isInstalled()) {
         $this->setFlag('', self::FLAG_NO_DISPATCH, true);
         $this->_redirect('/');
         return;
     }
     $this->setFlag('', self::FLAG_NO_CHECK_INSTALLATION, true);
     return parent::preDispatch();
 }
 public function preDispatch()
 {
     $this->setFlag('', self::FLAG_NO_CHECK_INSTALLATION, true);
     return parent::preDispatch();
 }