diff --git a/application/config.ini b/application/config.ini index 80467303..413d0798 100755 --- a/application/config.ini +++ b/application/config.ini @@ -1,158 +1,158 @@ -[general] -db.adapter = PDO_PGSQL -db.params.host = localhost -db.params.username = gis -db.params.password = gispassword -db.params.dbname = metadata - -geonetwork.url=http://www.sanjiangyuan.org.cn/geonetwork/ -geonetwork.adapter = PDO_PGSQL -geonetwork.params.host = localhost -geonetwork.params.username = gis -geonetwork.params.password = gispassword -geonetwork.params.dbname = geonetwork - -google.maps.api=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg -bing.api=4BC90E1E9ED351ECE0D9FB71509BC3CC1264340C -bigthumb.path=../geonetwork/data/ -temp.path=/tmp/ -upload=../data/upload/ - -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.review=数据评审 -title.author=数据作者 -title.knowledge=知识积累 -supportemail=sjydata@126.com -reportemail=westdc-report-subscribe@lists.westgis.ac.cn - -smtp.username=sjydata@126.com -smtp.password=xiningpwd126 -smtp.host=smtp.126.com -smtp.ssl=SSL -smtp.auth=login -smtp.name=数据中心服务组 - -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=sjydata@126.com -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.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.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 +[general] +db.adapter = PDO_PGSQL +db.params.host = localhost +db.params.username = gis +db.params.password = gispassword +db.params.dbname = metadata + +geonetwork.url=http://www.sanjiangyuan.org.cn/geonetwork/ +geonetwork.adapter = PDO_PGSQL +geonetwork.params.host = localhost +geonetwork.params.username = gis +geonetwork.params.password = gispassword +geonetwork.params.dbname = geonetwork + +google.maps.api=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg +bing.api=4BC90E1E9ED351ECE0D9FB71509BC3CC1264340C +bigthumb.path=../geonetwork/data/ +temp.path=/tmp/ +upload=../data/upload/ + +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.review=数据评审 +title.author=数据作者 +title.knowledge=知识积累 +supportemail=sjydata@126.com +reportemail=westdc-report-subscribe@lists.westgis.ac.cn + +smtp.username=sjy@qherc.org +smtp.password=qherc@123 +smtp.host=smtp.exmail.qq.com +smtp.ssl=SSL +smtp.auth=login +smtp.name=三江源生态监测综合数据服务平台 + +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=sjydata@126.com +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.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.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