* change the site.

This commit is contained in:
wangchunsheng
2010-04-27 14:32:40 +00:00
parent 500f879a8a
commit 5aeaa9a45d
+1 -1
View File
@@ -39,7 +39,7 @@ class install extends control
/* 获得官方网站最新的版本。*/
$snoopy = $this->app->loadClass('snoopy');
if($snoopy->fetchText('http://www.zentaoms.cn/misc-getlatestrelease.json'))
if($snoopy->fetchText('http://www.zentaoms.com/misc-getlatestrelease.json'))
{
$result = json_decode($snoopy->results);
if(isset($result->release) and $this->config->version != $result->release->version)