예제 #1
0
 /**
  * Splash
  *
  * @access	public
  */
 public function _splash()
 {
     /* First thing to do is wipe current 'previous' templates and reset them
        We do this here so that if we're upgrading across multiple versions, it will only
        do this the first time and not on each version step */
     IPSSetUp::resetPreviousTemplates($this->_currentLong, $this->_currentHuman, $this->_currentApp);
     /* Output */
     $this->registry->output->setTitle("Обновление");
     $this->registry->output->setNextAction('upgrade&do=sql');
     $this->registry->output->setHideButton(TRUE);
     $this->registry->output->addContent($this->registry->output->template()->upgrade_ready($this->_appData['name'], $this->_currentHuman, $this->_latestHuman));
     $this->registry->output->sendOutput();
 }