* adjust code for check update.
This commit is contained in:
@@ -78,7 +78,10 @@ class misc extends control
|
||||
|
||||
$latestVersionList = common::http($link);
|
||||
|
||||
$this->loadModel('setting')->setItem('system.common.global.latestVersionList', $latestVersionList);
|
||||
if(!isset($this->config->global->latestVersionList) or $this->config->global->latestVersionList != $latestVersionList)
|
||||
{
|
||||
$this->loadModel('setting')->setItem('system.common.global.latestVersionList', $latestVersionList);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user