diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 48aafa3c..ba62fff8 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -212,7 +212,7 @@ class ISO19115 if ($this->view->config) $geonetwork=$this->view->config->geonetwork->url; else - $geonetwork='/geonetwork/'; + $geonetwork='http://westdc.westgis.ac.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']));