Merge branch 'sprint/165_package' of https://gitlab.zcorp.cc/easycorp/zentaopms into 165

This commit is contained in:
tanghucheng
2022-04-07 14:13:25 +08:00
@@ -0,0 +1,25 @@
<?php
helper::importControl('install');
class myinstall extends install
{
/**
* Index page of install module.
*
* @access public
* @return void
*/
public function index()
{
if(!isset($this->config->installed) or !$this->config->installed) $this->session->set('installing', true);
$this->view->title = $this->lang->install->welcome;
if(!isset($this->view->versionName))
{
$versionName = ucfirst($this->config->vision);
if($this->config->edition == 'biz') $versionName .= 'VIP';
$versionName .= $this->config->liteVersion; // If the versionName variable has been defined in the max version, it cannot be defined here to avoid being overwritten.
$this->view->versionName = $versionName;
}
$this->display();
}
}