index.php 721 B

1234567891011121314151617
  1. <?php
  2. class myInstall extends install
  3. {
  4. /**
  5. * The index page of install.
  6. *
  7. * @access public
  8. * @return void
  9. */
  10. public function index()
  11. {
  12. if(strpos($this->config->version, 'pro') === 0) $this->view->versionName = $this->lang->zentaoPMS . str_replace('pro', $this->lang->proName . ' ', $this->config->version);
  13. if(strpos($this->config->version, 'biz') === 0) $this->view->versionName = $this->lang->zentaoPMS . str_replace('biz', $this->lang->bizName . ' ', $this->config->version);
  14. if(strpos($this->config->version, 'max') === 0) $this->view->versionName = str_replace('max', $this->lang->maxName . ' ', $this->config->version);
  15. parent::index();
  16. }
  17. }