From 434a04d37d66cde200e4dde90dd55a5bd9fa2420 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 28 Apr 2023 00:50:16 +0000 Subject: [PATCH] * Fix bug of install. --- module/install/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/install/control.php b/module/install/control.php index 4ccebef0c1..f321619083 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -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')); }