From fab1aa34c388477bed65b92717ddcdf077abf18d Mon Sep 17 00:00:00 2001 From: fujia Date: Thu, 27 May 2010 01:28:17 +0000 Subject: [PATCH] fix bug #101 --- trunk/module/install/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/module/install/control.php b/trunk/module/install/control.php index 5fde838cb3..dc8aafed07 100644 --- a/trunk/module/install/control.php +++ b/trunk/module/install/control.php @@ -39,7 +39,7 @@ class install extends control /* 获得官方网站最新的版本。*/ $snoopy = $this->app->loadClass('snoopy'); - if($snoopy->fetchText('http://www.zentaoms.com/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)