138 lines
4.6 KiB
INI
Executable File
138 lines
4.6 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://westdc.westgis.ac.cn:8080/geonetwork/
|
|
geonetwork.adapter = PDO_PGSQL
|
|
geonetwork.params.host = localhost
|
|
geonetwork.params.username = gis
|
|
geonetwork.params.password = gispassword
|
|
geonetwork.params.dbname = geonetwork
|
|
|
|
seekspace.url=http://seekspace.resip.ac.cn/
|
|
seekspace.handleurl=http://seekspace.resip.ac.cn/handle
|
|
|
|
paths.base = /var/www/test.westgis.ac.cn
|
|
paths.data = /var/www/test.westgis.ac.cn/data
|
|
paths.templates = /var/www/test.westgis.ac.cn/templates
|
|
paths.newsletter=images/newsletter/
|
|
logging.file = /var/www/test.westgis.ac.cn/data/logs/debug.log
|
|
page.limit=10
|
|
import.dir=../data/import
|
|
title.site=西部数据中心
|
|
title.data=数据产品与服务
|
|
title.knowledge=知识积累平台
|
|
title.netkites=移动文献查询服务
|
|
supportemail=westdc@lzb.ac.cn
|
|
reportemail=westdc-report-subscribe@lists.westgis.ac.cn
|
|
|
|
smtp.username=westdc@westgis.ac.cn
|
|
smtp.password=westdcrobot
|
|
smtp.host=210.77.68.240
|
|
smtp.ssl=TLS
|
|
smtp.auth=login
|
|
|
|
ftp.user=newwestdc
|
|
ftp.password=westdcforsmall
|
|
download.max=5 //最多同时申请下载个数
|
|
page.max=10 //每页显示条目数
|
|
offline.template=../data/offline.pdf
|
|
offline.font=../data/simhei.ttf
|
|
offline.savepath=../data/offlineapp
|
|
service.email=westdc@lzb.ac.cn
|
|
offline.email.template=../data/offline-email.txt
|
|
register.email.template=../data/register-email.txt
|
|
westdc.xsl=../data/ISO19115.xsl
|
|
|
|
routes.tag.route = "data/tag/:key"
|
|
routes.tag.defaults.controller = "data"
|
|
routes.tag.defaults.action = "tag"
|
|
|
|
routes.netkites1.type = "Zend_Controller_Router_Route_Static"
|
|
routes.netkites1.route = "knowledge/netkites"
|
|
routes.netkites1.defaults.controller = netkites
|
|
routes.netkites1.defaults.action = index
|
|
|
|
routes.netkites.route = "knowledge/netkites/:action/*"
|
|
routes.netkites.defaults.controller = netkites
|
|
|
|
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.dataseries.route = "data/series/:id"
|
|
routes.dataseries.defaults.controller = "data"
|
|
routes.dataseries.defaults.action = "series"
|
|
routes.dataseries.reqs.code = "\d+"
|
|
|
|
routes.admin.type = "Zend_Controller_Router_Route_Static"
|
|
routes.admin.route = admin
|
|
routes.admin.defaults.module = admin
|
|
routes.admin.defaults.controller = data
|
|
routes.admin.defaults.action = index
|
|
|
|
routes.adminofflineapp.route = admin/data/offlineapp/:page
|
|
routes.adminofflineapp.defaults.module = admin
|
|
routes.adminofflineapp.defaults.controller = data
|
|
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.type = "Zend_Controller_Router_Route_Static"
|
|
routes.news.route = "news"
|
|
routes.news.defaults.controller = "news"
|
|
routes.news.defaults.action = "list"
|
|
|
|
routes.archive.type = "Zend_Controller_Router_Route_Regex"
|
|
routes.archive.route = "archive/(\d+)"
|
|
routes.archive.defaults.controller = "archive"
|
|
routes.archive.defaults.action = "show"
|
|
routes.archive.map.1 = "year"
|