1 ; This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
2 ; and is published under the AGPL license. */
4 phpSettings.display_startup_errors = 0
5 phpSettings.display_errors = 0
6 phpSettings.error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
7 includePaths.library = APPLICATION_PATH "/../library"
8 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
9 bootstrap.class = "Bootstrap"
11 ; needed to send mails from cron
12 resources.frontController.params.rooturl="http://osm-syj.crans.org/"
13 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
14 resources.frontController.params.displayExceptions = 0
15 resources.frontController.params.webmasterEmail = "arno@renevier.net"
16 resources.frontController.params.emailSavingPath = APPLICATION_PATH "/../generated/mails.txt"
18 resources.frontController.defaultloc.minlon = -160.0
19 resources.frontController.defaultloc.maxlon = 160.0
20 resources.frontController.defaultloc.minlat = -70.0
21 resources.frontController.defaultloc.maxlat = 70.0
22 resources.frontController.actionhelperpaths.Syj_Controller_Action_Helper = APPLICATION_PATH "/controllers/helpers"
23 resources.frontController.plugins.locale = "Syj_Controllers_Plugins_SyjLocale"
24 resources.frontController.plugins.loggeduser = "Syj_Controllers_Plugins_SyjLoggedUser"
25 resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
26 resources.db.adapter = "Pdo_Pgsql"
28 resources.translate.adapter = gettext
29 resources.translate.data = APPLICATION_PATH "/languages"
30 resources.translate.scan = filename
31 resources.translate.disableNotices = true
37 resources.router.routes.geom.route = "geom/:idx"
38 resources.router.routes.geom.defaults.controller = "geom"
39 resources.router.routes.geom.defaults.action = "index"
41 resources.router.routes.idx.route = "idx/:url"
42 resources.router.routes.idx.defaults.controller = "idx"
43 resources.router.routes.idx.defaults.action = "index"
44 ; "/" url works the same way as "idx/"
45 resources.router.routes.root.type = "Zend_Controller_Router_Route_Static"
46 resources.router.routes.root.route = "/"
47 resources.router.routes.root.defaults.controller = "idx"
48 resources.router.routes.root.defaults.action = "index"
50 resources.router.routes.path.route = "path/"
51 resources.router.routes.path.defaults.controller = "path"
52 resources.router.routes.path.defaults.action = "index"
54 resources.router.routes.path_update.route = "path/:idx/update"
55 resources.router.routes.path_update.defaults.controller = "path"
56 resources.router.routes.path_update.defaults.action = "update"
58 resources.router.routes.path_delete.route = "path/:idx/delete"
59 resources.router.routes.path_delete.defaults.controller = "path"
60 resources.router.routes.path_delete.defaults.action = "delete"
62 resources.router.routes.login.route = "login/"
63 resources.router.routes.login.defaults.controller = "login"
64 resources.router.routes.login.defaults.action = "login"
66 resources.router.routes.user.route = "user/"
67 resources.router.routes.user.defaults.controller = "user"
68 resources.router.routes.user.defaults.action = "user"
70 resources.router.routes.userexists.route = "userexists/:name"
71 resources.router.routes.userexists.defaults.controller = "user"
72 resources.router.routes.userexists.defaults.action = "exists"
74 resources.router.routes.logout.route = "logout/"
75 resources.router.routes.logout.defaults.controller = "login"
76 resources.router.routes.logout.defaults.action = "logout"
78 resources.router.routes.account.route = "account/"
79 resources.router.routes.account.defaults.controller = "account"
80 resources.router.routes.account.defaults.action = "index"
82 resources.router.routes.contact.route = "contact/"
83 resources.router.routes.contact.defaults.controller = "contact"
84 resources.router.routes.contact.defaults.action = "index"
86 resources.router.routes.pending.route = "pending/:idx"
87 resources.router.routes.pending.defaults.controller = "pending"
88 resources.router.routes.pending.defaults.action = "index"
90 resources.router.routes.termsofuse.route = "termsofuse/"
91 resources.router.routes.termsofuse.defaults.controller = "termsofuse"
92 resources.router.routes.termsofuse.defaults.action = "index"
94 resources.router.routes.newpwd.route = "newpwd/"
95 resources.router.routes.newpwd.defaults.controller = "newpwd"
96 resources.router.routes.newpwd.defaults.action = "index"
98 resources.router.routes.list.route = "list/"
99 resources.router.routes.list.defaults.controller = "list"
100 resources.router.routes.list.defaults.action = "index"
102 resources.router.routes.faq.route = "faq/"
103 resources.router.routes.faq.defaults.controller = "faq"
104 resources.router.routes.faq.defaults.action = "index"
106 resources.router.routes.nominatim.route = "nominatim/"
107 resources.router.routes.nominatim.defaults.controller = "nominatim"
108 resources.router.routes.nominatim.defaults.action = "index"
111 resources.db.params.username = "syj"
112 resources.db.params.password = ""
113 resources.db.params.dbname = "syj"
115 [development : production]
116 phpSettings.display_startup_errors = 1
117 phpSettings.error_reporting = E_ALL | E_STRICT
118 phpSettings.display_errors = 1
119 ; needed to send mails from cron
120 resources.frontController.params.rooturl="http://localhost/syj/"
121 resources.frontController.params.displayExceptions = 1
122 resources.db.params.username = "syj"
123 resources.db.params.password = ""
124 resources.db.params.dbname = "syj"
125 resources.db.params.profiler.enabled = true
126 resources.db.params.profiler.class = Zend_Db_Profiler_Firebug