* Fix bug of install.
This commit is contained in:
@@ -271,7 +271,7 @@ class install extends control
|
||||
if(isset($_SERVER['REQUEST_SCHEME']) and strtolower($_SERVER['REQUEST_SCHEME']) == 'https') $httpType = 'https';
|
||||
if(strpos($this->app->getClientLang(), 'zh') === 0) $this->loadModel('api')->createDemoData($this->lang->api->zentaoAPI, "{$httpType}://{$_SERVER['HTTP_HOST']}" . $this->app->config->webRoot . 'api.php/v1', '16.0');
|
||||
|
||||
if($this->config->edition != 'open') $this->upgrade->processDataset();
|
||||
if($this->config->edition != 'open') $this->loadModel('upgrade')->processDataset();
|
||||
|
||||
return print(js::locate(inlink('step6'), 'parent'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user