change the default geonetwork url
This commit is contained in:
parent
335fc86d06
commit
aba271ee99
|
@ -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']));
|
||||
|
|
Loading…
Reference in New Issue