Пример #1
0
 /**
  * Execute selected method
  *
  * @access	public
  * @param	object		Registry object
  * @return	@e void
  */
 public function doExecute(ipsRegistry $registry)
 {
     $installLocked = FALSE;
     /* Lock the page */
     if (@file_put_contents(DOC_IPS_ROOT_PATH . 'cache/installer_lock.php', 'Just out of interest, what did you expect to see here?')) {
         $installLocked = TRUE;
     }
     /* Clean conf global */
     IPSInstall::cleanConfGlobal();
     /* Simply return the EULA page */
     $this->registry->output->setTitle("Complete!");
     $this->registry->output->setHideButton(TRUE);
     $this->registry->output->addContent($this->registry->output->template()->page_installComplete($installLocked));
     $this->registry->output->sendOutput(FALSE);
 }