index.php 749 B

123456789101112131415161718192021222324
  1. <?php
  2. helper::importControl('install');
  3. class myinstall extends install
  4. {
  5. /**
  6. * Index page of install module.
  7. *
  8. * @access public
  9. * @return void
  10. */
  11. public function index()
  12. {
  13. if(!isset($this->config->installed) or !$this->config->installed) $this->session->set('installing', true);
  14. $this->view->title = $this->lang->install->welcome;
  15. if(!isset($this->view->versionName))
  16. {
  17. // If the versionName variable has been defined in the max version, it cannot be defined here to avoid being overwritten.
  18. $versionName = $this->lang->ipdName . $this->config->ipdVersion;
  19. $this->view->versionName = $versionName;
  20. }
  21. $this->display();
  22. }
  23. }