154 lines
5.3 KiB
INI
Executable File
154 lines
5.3 KiB
INI
Executable File
[general]
|
|
db.adapter = PDO_PGSQL
|
|
db.params.host = localhost
|
|
db.params.username = gis
|
|
db.params.password = gispassword
|
|
db.params.dbname = metadata
|
|
|
|
geonetwork.url=http://card.westgis.ac.cn/geonetwork/
|
|
geonetwork.adapter = PDO_PGSQL
|
|
geonetwork.params.host = localhost
|
|
geonetwork.params.username = gis
|
|
geonetwork.params.password = gispassword
|
|
geonetwork.params.dbname = wdscar_geonetwork
|
|
|
|
bigthumb.path=../geonetwork/data/
|
|
temp.path=/tmp/
|
|
upload=../data/upload/
|
|
|
|
paths.newsletter=images/newsletter/
|
|
page.limit=10
|
|
import.dir=../data/import
|
|
title.site=Cold and Arid Regions Science Data Center
|
|
title.data=Dataset
|
|
title.heihe=黑河计划数据管理中心
|
|
title.yrnmr=黄河上游宁蒙河段综合数据
|
|
title.glacier=中国冰川资源及其变化调查
|
|
title.review=数据评审
|
|
title.author=For AUTHOR
|
|
title.knowledge=Knowledge
|
|
supportemail=westdc@lzb.ac.cn
|
|
|
|
smtp.username=westdc@lzb.ac.cn
|
|
smtp.password=ilovewestdc
|
|
smtp.host=smtp.cstnet.cn
|
|
smtp.ssl=TLS
|
|
smtp.auth=login
|
|
smtp.name=CARD Support Team
|
|
|
|
ftp.user=newwestdc
|
|
ftp.password=westdcforsmall
|
|
download.max=5 //最多同时申请下载个数
|
|
page.max=10 //每页显示条目数
|
|
offline.template=../data/offline.pdf
|
|
offline.heihetemplate=../data/heihe.pdf
|
|
offline.security=../data/security.pdf
|
|
offline.water_template=../data/water_offline.pdf
|
|
offline.font=../data/simhei.ttf
|
|
offline.savepath=../data/offlineapp
|
|
service.email=westdc@lzb.ac.cn
|
|
offline.email.template=../data/offline-email.txt
|
|
offline.email.start_template=../data/offline-start-email.txt
|
|
offline.email.finish_template=../data/offline-finish-email.txt
|
|
offline.email.deny_template=../data/offline-deny-email.txt
|
|
register.email.template=../data/register-email.txt
|
|
westdc.xsl=../data/ISO19115.xsl
|
|
|
|
routes.accout.route = "account/fetchpwd/:login/:key"
|
|
routes.accout.defaults.controller = "account"
|
|
routes.accout.defaults.action = "fetchpwd"
|
|
|
|
routes.tag.route = "data/tag/:key"
|
|
routes.tag.defaults.controller = "data"
|
|
routes.tag.defaults.action = "tag"
|
|
|
|
routes.dataid.route = "data/:id"
|
|
routes.dataid.defaults.controller = "data"
|
|
routes.dataid.defaults.action = "view"
|
|
routes.dataid.reqs.id = "\d+"
|
|
|
|
routes.dataxmluuid.route = "data/xml/:uuid"
|
|
routes.dataxmluuid.defaults.controller = "data"
|
|
routes.dataxmluuid.defaults.action = "xml"
|
|
routes.dataxmluuid.reqs.uuid = "[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}"
|
|
|
|
routes.datauuid.route = "data/:uuid"
|
|
routes.datauuid.defaults.controller = "data"
|
|
routes.datauuid.defaults.action = "view"
|
|
routes.datauuid.reqs.uuid = "[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}"
|
|
|
|
routes.datacat.route = "data/category/:code"
|
|
routes.datacat.defaults.controller = "data"
|
|
routes.datacat.defaults.action = "category"
|
|
routes.datacat.reqs.code = "\d+"
|
|
|
|
routes.dataseriesplace.route = "data/series/:id/:keyword"
|
|
routes.dataseriesplace.defaults.controller = "data"
|
|
routes.dataseriesplace.defaults.action = "series"
|
|
//routes.dataseries.reqs.code = "\d+"
|
|
|
|
routes.dataseries.route = "data/series/:id"
|
|
routes.dataseries.defaults.controller = "data"
|
|
routes.dataseries.defaults.action = "series"
|
|
|
|
routes.wateruuid.route = "water/:uuid"
|
|
routes.wateruuid.defaults.controller = "water"
|
|
routes.wateruuid.defaults.action = "view"
|
|
routes.wateruuid.reqs.uuid = "[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}"
|
|
|
|
routes.watertag.route = "water/tag/:key"
|
|
routes.watertag.defaults.controller = "water"
|
|
routes.watertag.defaults.action = "tag"
|
|
|
|
routes.mddoc.route = "data/wiki/:title"
|
|
routes.mddoc.defaults.controller = "metainfo"
|
|
routes.mddoc.defaults.action = "index"
|
|
|
|
routes.mdfile.route = "filelist/uuid/:uuid"
|
|
routes.mdfile.defaults.controller = "filelist"
|
|
routes.mdfile.defaults.action = "index"
|
|
|
|
routes.adminofflineapp.route = admin/down/offlineapp/:page
|
|
routes.adminofflineapp.defaults.module = admin
|
|
routes.adminofflineapp.defaults.controller = down
|
|
routes.adminofflineapp.defaults.action = offlineapp
|
|
routes.adminofflineapp.defaults.page = 1
|
|
routes.adminofflineapp.reqs.page = \d+
|
|
|
|
routes.admindatasetcd.route = admin/data/datasetcd/:page
|
|
routes.admindatasetcd.defaults.module = admin
|
|
routes.admindatasetcd.defaults.controller = data
|
|
routes.admindatasetcd.defaults.action = datasetcd
|
|
routes.admindatasetcd.defaults.page = 1
|
|
routes.admindatasetcd.reqs.page = \d+
|
|
|
|
routes.adminmd.route = admin/data/md/:page
|
|
routes.adminmd.defaults.module = admin
|
|
routes.adminmd.defaults.controller = data
|
|
routes.adminmd.defaults.action = md
|
|
routes.adminmd.defaults.page = 1
|
|
routes.adminmd.reqs.page = \d+
|
|
|
|
routes.admincomment.route = admin/data/comment/:page
|
|
routes.admincomment.defaults.module = admin
|
|
routes.admincomment.defaults.controller = data
|
|
routes.admincomment.defaults.action = comment
|
|
routes.admincomment.defaults.page = 1
|
|
routes.admincomment.reqs.page = \d+
|
|
|
|
routes.adminoffline.route = admin/data/offline/:page
|
|
routes.adminoffline.defaults.module = admin
|
|
routes.adminoffline.defaults.controller = data
|
|
routes.adminoffline.defaults.action = offline
|
|
routes.adminoffline.defaults.page = 1
|
|
routes.adminoffline.reqs.page = \d+
|
|
|
|
routes.news.route = archives/:ptype/:type/:page
|
|
routes.news.defaults.controller = archives
|
|
routes.news.defaults.action = list
|
|
routes.news.defaults.page = 1
|
|
|
|
routes.qzr.route = qzr/news/:title
|
|
routes.qzr.defaults.controller = qzr
|
|
routes.qzr.defaults.action = news
|