X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fconfigs%2Fapplication.ini;h=ef2aba5137eb430dbd9b0187d658b80f7714818d;hp=baa844986c6030b9a406b0b5bd85238df403e7c2;hb=00c2579ade64a20ba2d82e98d3eea5f864864cdb;hpb=1f6105289a49079809c2a4677b561bc82c62db88 diff --git a/application/configs/application.ini b/application/configs/application.ini index baa8449..ef2aba5 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -9,7 +9,7 @@ bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace = "Syj" ; needed to send mails from cron -resources.frontController.params.rooturl="http://osm-syj.crans.org/" +resources.frontController.params.rooturl="http://syj.renevier.net/" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.params.displayExceptions = 0 resources.frontController.params.webmasterEmail = "arno@renevier.net" @@ -22,8 +22,13 @@ resources.frontController.defaultloc.maxlat = 70.0 resources.frontController.actionhelperpaths.Syj_Controller_Action_Helper = APPLICATION_PATH "/controllers/helpers" resources.frontController.plugins.locale = "Syj_Controllers_Plugins_SyjLocale" resources.frontController.plugins.loggeduser = "Syj_Controllers_Plugins_SyjLoggedUser" +resources.frontController.plugins.contenttype = "Syj_Controllers_Plugins_SyjContentType" resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/" resources.db.adapter = "Pdo_Pgsql" +; altiphp +resources.frontController.params.profileCache = APPLICATION_PATH "/../generated/profile/" +resources.frontController.altiphp.source = "srtmtiles" +resources.frontController.altiphp.cache = APPLICATION_PATH "/../generated/tiles" ; i18n resources.translate.adapter = gettext resources.translate.data = APPLICATION_PATH "/languages" @@ -54,10 +59,12 @@ resources.router.routes.path.defaults.action = "index" resources.router.routes.path_update.route = "path/:idx/update" resources.router.routes.path_update.defaults.controller = "path" resources.router.routes.path_update.defaults.action = "update" +resources.router.routes.path_update.defaults.idx = "-1" ; path/xxx/delete resources.router.routes.path_delete.route = "path/:idx/delete" resources.router.routes.path_delete.defaults.controller = "path" resources.router.routes.path_delete.defaults.action = "delete" +resources.router.routes.path_delete.defaults.idx = "-1" ; login/ resources.router.routes.login.route = "login/" resources.router.routes.login.defaults.controller = "login" @@ -106,11 +113,17 @@ resources.router.routes.faq.defaults.action = "index" resources.router.routes.nominatim.route = "nominatim/" resources.router.routes.nominatim.defaults.controller = "nominatim" resources.router.routes.nominatim.defaults.action = "index" +; profile/ +resources.router.routes.profile.type = "Zend_Controller_Router_Route_Regex" +resources.router.routes.profile.route = "profile/(.*)\.png" +resources.router.routes.profile.map.1 = "url" +resources.router.routes.profile.defaults.controller = "profile" +resources.router.routes.profile.defaults.action = "index" ; database -resources.db.params.username = "syj" +resources.db.params.username = "arno" resources.db.params.password = "" -resources.db.params.dbname = "syj" +resources.db.params.dbname = "arno" [development : production] phpSettings.display_startup_errors = 1