]> dev.renevier.net Git - syj.git/blob - application/configs/application.ini
allow opening terms of use box with space keyboard
[syj.git] / application / configs / application.ini
1 ; This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
2 ; and is published under the AGPL license. */
3 [production]
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"
10 appnamespace = "Syj"
11 ; needed to send mails from cron
12 resources.frontController.params.rooturl="http://syj.renevier.net/"
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"
17 ; default geolocation
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.frontController.plugins.contenttype = "Syj_Controllers_Plugins_SyjContentType"
26 resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
27 resources.db.adapter = "Pdo_Pgsql"
28 ; i18n
29 resources.translate.adapter = gettext
30 resources.translate.data = APPLICATION_PATH "/languages"
31 resources.translate.scan = filename
32 resources.translate.disableNotices = true
33 ;
34 ; routes
35 ;
36
37 ; geom/
38 resources.router.routes.geom.route = "geom/:idx"
39 resources.router.routes.geom.defaults.controller = "geom"
40 resources.router.routes.geom.defaults.action = "index"
41 ; idx/
42 resources.router.routes.idx.route = "idx/:url"
43 resources.router.routes.idx.defaults.controller = "idx"
44 resources.router.routes.idx.defaults.action = "index"
45 ; "/" url works the same way as "idx/"
46 resources.router.routes.root.type = "Zend_Controller_Router_Route_Static"
47 resources.router.routes.root.route = "/"
48 resources.router.routes.root.defaults.controller = "idx"
49 resources.router.routes.root.defaults.action = "index"
50 ; path/
51 resources.router.routes.path.route = "path/"
52 resources.router.routes.path.defaults.controller = "path"
53 resources.router.routes.path.defaults.action = "index"
54 ; path/xxx/update
55 resources.router.routes.path_update.route = "path/:idx/update"
56 resources.router.routes.path_update.defaults.controller = "path"
57 resources.router.routes.path_update.defaults.action = "update"
58 resources.router.routes.path_update.defaults.idx = "-1"
59 ; path/xxx/delete
60 resources.router.routes.path_delete.route = "path/:idx/delete"
61 resources.router.routes.path_delete.defaults.controller = "path"
62 resources.router.routes.path_delete.defaults.action = "delete"
63 resources.router.routes.path_delete.defaults.idx = "-1"
64 ; login/
65 resources.router.routes.login.route = "login/"
66 resources.router.routes.login.defaults.controller = "login"
67 resources.router.routes.login.defaults.action = "login"
68 ; user/
69 resources.router.routes.user.route = "user/"
70 resources.router.routes.user.defaults.controller = "user"
71 resources.router.routes.user.defaults.action = "user"
72 ; userexists/
73 resources.router.routes.userexists.route = "userexists/:name"
74 resources.router.routes.userexists.defaults.controller = "user"
75 resources.router.routes.userexists.defaults.action = "exists"
76 ; logout/
77 resources.router.routes.logout.route = "logout/"
78 resources.router.routes.logout.defaults.controller = "login"
79 resources.router.routes.logout.defaults.action = "logout"
80 ; account/
81 resources.router.routes.account.route = "account/"
82 resources.router.routes.account.defaults.controller = "account"
83 resources.router.routes.account.defaults.action = "index"
84 ; contact/
85 resources.router.routes.contact.route = "contact/"
86 resources.router.routes.contact.defaults.controller = "contact"
87 resources.router.routes.contact.defaults.action = "index"
88 ; pending/
89 resources.router.routes.pending.route = "pending/:idx"
90 resources.router.routes.pending.defaults.controller = "pending"
91 resources.router.routes.pending.defaults.action = "index"
92 ; termsofuse/
93 resources.router.routes.termsofuse.route = "termsofuse/"
94 resources.router.routes.termsofuse.defaults.controller = "termsofuse"
95 resources.router.routes.termsofuse.defaults.action = "index"
96 ; newpwd/
97 resources.router.routes.newpwd.route = "newpwd/"
98 resources.router.routes.newpwd.defaults.controller = "newpwd"
99 resources.router.routes.newpwd.defaults.action = "index"
100 ; list/
101 resources.router.routes.list.route = "list/"
102 resources.router.routes.list.defaults.controller = "list"
103 resources.router.routes.list.defaults.action = "index"
104 ; faq/
105 resources.router.routes.faq.route = "faq/"
106 resources.router.routes.faq.defaults.controller = "faq"
107 resources.router.routes.faq.defaults.action = "index"
108 ; nominatim/
109 resources.router.routes.nominatim.route = "nominatim/"
110 resources.router.routes.nominatim.defaults.controller = "nominatim"
111 resources.router.routes.nominatim.defaults.action = "index"
112
113 ; database
114 resources.db.params.username = "syj"
115 resources.db.params.password = ""
116 resources.db.params.dbname = "syj"
117
118 [development : production]
119 phpSettings.display_startup_errors = 1
120 phpSettings.error_reporting = E_ALL | E_STRICT
121 phpSettings.display_errors = 1
122 ; needed to send mails from cron
123 resources.frontController.params.rooturl="http://localhost/syj/"
124 resources.frontController.params.displayExceptions = 1
125 resources.db.params.username = "syj"
126 resources.db.params.password = ""
127 resources.db.params.dbname = "syj"
128 resources.db.params.profiler.enabled = true
129 resources.db.params.profiler.class = Zend_Db_Profiler_Firebug