]> dev.renevier.net Git - syj.git/blob - application/configs/application.ini
crontab: database backup
[syj.git] / application / configs / application.ini
1 ; This file is part of Syj, Copyright (c) 2010 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://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"
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.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
26 resources.db.adapter = "Pdo_Pgsql"
27 ; i18n
28 resources.translate.adapter = gettext
29 resources.translate.data = APPLICATION_PATH "/languages"
30 resources.translate.scan = filename
31 resources.translate.disableNotices = true
32 ;
33 ; routes
34 ;
35
36 ; geom/
37 resources.router.routes.geom.route = "geom/:idx"
38 resources.router.routes.geom.defaults.controller = "geom"
39 resources.router.routes.geom.defaults.action = "index"
40 ; idx/
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"
49 ; path/
50 resources.router.routes.path.route = "path/"
51 resources.router.routes.path.defaults.controller = "path"
52 resources.router.routes.path.defaults.action = "index"
53 ; path/xxx/update
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"
57 ; path/xxx/delete
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"
61 ; login/
62 resources.router.routes.login.route = "login/"
63 resources.router.routes.login.defaults.controller = "login"
64 resources.router.routes.login.defaults.action = "login"
65 ; user/
66 resources.router.routes.user.route = "user/"
67 resources.router.routes.user.defaults.controller = "user"
68 resources.router.routes.user.defaults.action = "user"
69 ; userexists/
70 resources.router.routes.userexists.route = "userexists/:name"
71 resources.router.routes.userexists.defaults.controller = "user"
72 resources.router.routes.userexists.defaults.action = "exists"
73 ; logout/
74 resources.router.routes.logout.route = "logout/"
75 resources.router.routes.logout.defaults.controller = "login"
76 resources.router.routes.logout.defaults.action = "logout"
77 ; account/
78 resources.router.routes.account.route = "account/"
79 resources.router.routes.account.defaults.controller = "account"
80 resources.router.routes.account.defaults.action = "index"
81 ; contact/
82 resources.router.routes.contact.route = "contact/"
83 resources.router.routes.contact.defaults.controller = "contact"
84 resources.router.routes.contact.defaults.action = "index"
85 ; pending/
86 resources.router.routes.pending.route = "pending/:idx"
87 resources.router.routes.pending.defaults.controller = "pending"
88 resources.router.routes.pending.defaults.action = "index"
89 ; termsofuse/
90 resources.router.routes.termsofuse.route = "termsofuse/"
91 resources.router.routes.termsofuse.defaults.controller = "termsofuse"
92 resources.router.routes.termsofuse.defaults.action = "index"
93 ; cron/
94 resources.router.routes.cron.route = "cron/"
95 resources.router.routes.cron.defaults.controller = "cron"
96 resources.router.routes.cron.defaults.action = "index"
97 ; newpwd/
98 resources.router.routes.newpwd.route = "newpwd/"
99 resources.router.routes.newpwd.defaults.controller = "newpwd"
100 resources.router.routes.newpwd.defaults.action = "index"
101 ; list/
102 resources.router.routes.list.route = "list/"
103 resources.router.routes.list.defaults.controller = "list"
104 resources.router.routes.list.defaults.action = "index"
105 ; faq/
106 resources.router.routes.faq.route = "faq/"
107 resources.router.routes.faq.defaults.controller = "faq"
108 resources.router.routes.faq.defaults.action = "index"
109 ; nominatim/
110 resources.router.routes.nominatim.route = "nominatim/"
111 resources.router.routes.nominatim.defaults.controller = "nominatim"
112 resources.router.routes.nominatim.defaults.action = "index"
113
114 ; database
115 resources.db.params.username = "syj"
116 resources.db.params.password = ""
117 resources.db.params.dbname = "syj"
118
119 [development : production]
120 phpSettings.display_startup_errors = 1
121 phpSettings.error_reporting = E_ALL | E_STRICT
122 phpSettings.display_errors = 1
123 ; needed to send mails from cron
124 resources.frontController.params.rooturl="http://localhost/syj/"
125 resources.frontController.params.displayExceptions = 1
126 resources.db.params.username = "syj"
127 resources.db.params.password = ""
128 resources.db.params.dbname = "syj"
129 resources.db.params.profiler.enabled = true
130 resources.db.params.profiler.class = Zend_Db_Profiler_Firebug