diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 96fb4311..23b0f309 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -225,7 +225,7 @@ class ISO19115 if ($this->view->config) $geonetwork=$this->view->config->geonetwork->url; else - $geonetwork='http://westdc.westgis.ac.cn/geonetwork/'; + $geonetwork='http://www.sanjiangyuan.org.cn/geonetwork/'; $thumb=base64_encode(file_get_contents($geonetwork.'srv/cn/resources.get?access=public&id='.$r->gid.'&fname='.urlencode($this->graph['filename']))); $sql="insert into thumbnail (id,data,filetype,filedesc,filename) values(?,?,?,?,?)"; $db->query($sql,array($id,$thumb,$this->graph['filetype'],$this->graph['filedesc'],$this->graph['filename'])); diff --git a/application/models/Search.php b/application/models/Search.php index 964b6e24..f66b64e1 100644 --- a/application/models/Search.php +++ b/application/models/Search.php @@ -66,7 +66,7 @@ class Search function __construct($text='') { require_once '/home/wlx/xunsearch/sdk/php/lib/XS.php'; - $this->xs=new XS('heihe'); + $this->xs=new XS('westdc'); $this->search=$this->xs->search; $this->terms = array(); $this->text=$text;