* Fix bug of install.

This commit is contained in:
xieqiyu
2023-04-28 00:50:16 +00:00
parent 0a57ff808d
commit 434a04d37d
+1 -1
View File
@@ -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'));
}