* Adjust code.

This commit is contained in:
leiyong
2021-01-22 13:18:30 +08:00
parent df42276c13
commit c28cf48fbf
8 changed files with 8 additions and 6 deletions
+1
View File
@@ -69,6 +69,7 @@ class misc extends control
$source = isset($this->config->qcVersion) ? 'qucheng' : 'zentao';
$lang = str_replace('-', '_', $this->app->getClientLang());
$link = $this->lang->misc->api . "/updater-getLatest-{$this->config->version}-$source-$lang.html";
$latestVersionList = common::http($link);
$this->loadModel('setting')->setItem('system.common.global.latestVersionList', $latestVersionList);
}