25 lines
751 B
PHP
Executable File
25 lines
751 B
PHP
Executable File
<?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))
|
|
{
|
|
// If the versionName variable has been defined in the max version, it cannot be defined here to avoid being overwritten.
|
|
$versionName = $this->lang->liteName . $this->config->liteVersion;
|
|
$this->view->versionName = $versionName;
|
|
}
|
|
$this->display();
|
|
}
|
|
}
|