More game classes added:
[shipsimu.git] / application / ship-simu / config.php
1 <?php
2 /**
3  * Additional/overwritten configuration parts
4  *
5  * @author              Roland Haeder <webmaster@ship-simu.org>
6  * @version             0.0.0
7  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, this is free software
8  * @license             GNU GPL 3.0 or any newer version
9  * @link                http://www.ship-simu.org
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24
25 // Get a configuration instance for shorter lines
26 $cfg = FrameworkConfiguration::getInstance();
27
28 // CFG: DEFAULT-WEB-COMMAND
29 $cfg->setConfigEntry('default_web_command', "home");
30
31 // CFG: DEFAULT-IMAGE-COMMAND
32 $cfg->setConfigEntry('default_image_command', "build");
33
34 // CFG: PAGE-WITH-NEWS
35 $cfg->setConfigEntry('page_with_news', "home");
36
37 // CFG: FORM-ACTION
38 $cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&amp;page=do_form");
39
40 // CFG: FORM-METHOD
41 $cfg->setConfigEntry('form_method', "post");
42
43 // CFG: FORM-TARGET
44 $cfg->setConfigEntry('form_target', "_self");
45
46 // CFG: REGISTER-REQUIRES-EMAIL
47 $cfg->setConfigEntry('register_requires_email', "Y");
48
49 // CFG: REGISTER-INCLUDES-PROFILE
50 $cfg->setConfigEntry('register_includes_profile', "Y");
51
52 // CFG: REGISTER-PERSONAL-DATA
53 $cfg->setConfigEntry('register_personal_data', "Y");
54
55 // CFG: REGISTER-EMAIL-UNIQUE
56 $cfg->setConfigEntry('register_email_unique', "Y");
57
58 // CFG: CHAT-ENABLED-ICQ
59 $cfg->setConfigEntry('chat_enabled_icq', "Y");
60
61 // CFG: CHAT-ENABLED-JABBER
62 $cfg->setConfigEntry('chat_enabled_jabber', "Y");
63
64 // CFG: CHAT-ENABLED-YAHOO
65 $cfg->setConfigEntry('chat_enabled_yahoo', "Y");
66
67 // CFG: CHAT-ENABLED-AOL
68 $cfg->setConfigEntry('chat_enabled_aol', "Y");
69
70 // CFG: CHAT-ENABLED-MSN
71 $cfg->setConfigEntry('chat_enabled_msn', "Y");
72
73 // CFG: USER-REGISTRATION
74 $cfg->setConfigEntry('user_registration_class', "ShipSimuRegistration");
75
76 // CFG: USER-LOGIN-CLASS
77 $cfg->setConfigEntry('user_login_class', "ShipSimuUserLogin");
78
79 // CFG: GUEST-LOGIN-CLASS
80 $cfg->setConfigEntry('guest_login_class', "ShipSimuGuestLogin");
81
82 // CFG: USER-STATUS-REGISTER
83 $cfg->setConfigEntry('user_status_unconfirmed', "UNCONFIRMED");
84
85 // CFG: USER-STATUS-GUEST
86 $cfg->setConfigEntry('user_status_guest', "GUEST");
87
88 // CFG: USER-STATUS-CONFIRMED
89 $cfg->setConfigEntry('user_status_confirmed', "CONFIRMED");
90
91 // CFG: LOGIN-HELPER-CLASS
92 $cfg->setConfigEntry('login_helper_class', "ShipSimuLoginHelper");
93
94 // CFG: AUTH-METHOD-CLASS
95 $cfg->setConfigEntry('auth_method_class', "CookieAuth");
96
97 // CFG: APP-LOGIN-URL
98 $cfg->setConfigEntry('app_login_url', "index.php?app=ship-simu&page=login_area");
99
100 // CFG: LOGIN-FAILED-URL
101 $cfg->setConfigEntry('login_failed_url', "index.php?app=ship-simu&page=login_failed");
102
103 // CFG: LOGOUT-DONE-URL
104 $cfg->setConfigEntry('logout_done_url', "index.php?app=ship-simu&page=logout_done");
105
106 // CFG: LOGIN-USER-STATUS-URL
107 $cfg->setConfigEntry('login_user_status_url', "index.php?app=ship-simu&page=login_area&action=status_problem");
108
109 // CFG: USER-NOT-UNCONFIRMED-URL
110 $cfg->setConfigEntry('user_not_unconfirmed_url', "index.php?app=ship-simu&page=status&status=unconfirmed_problem");
111
112 // CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
113 $cfg->setConfigEntry('user_unconfirmed_email_missing_url', "index.php?app=ship-simu&page=status&status=unconfirmed_email_missing");
114
115 // CFG: CONFIRM-CODE-INVALID-URL
116 $cfg->setConfigEntry('confirm_code_invalid_url', "index.php?app=ship-simu&page=status&status=confirm_code_invalid");
117
118 // CFG: LOGIN-DEFAULT-ACTION
119 $cfg->setConfigEntry('login_default_action', "welcome");
120
121 // CFG: NEWS-READER-CLASS
122 $cfg->setConfigEntry('news_reader_class', "DefaultNewsReader");
123
124 // CFG: NEWS-DOWNLOAD-CLASS
125 $cfg->setConfigEntry('news_download_class', "NewsDownloadFilter");
126
127 // CFG: NEWS-PROCESS-CLASS
128 $cfg->setConfigEntry('news_process_class', "NewsProcessFilter");
129
130 // CFG: USER-AUTH-CLASS
131 $cfg->setConfigEntry('user_auth_class', "UserAuthFilter");
132
133 // CFG: USER-UPDATE-CLASS
134 $cfg->setConfigEntry('user_update_class', "UserUpdateFilter");
135
136 // CFG: USER-STATUS-CONFIRMED-CLASS
137 $cfg->setConfigEntry('user_status_confirmed_class', "UserStatusConfimedUpdateFilter");
138
139 // CFG: CAPTCHA-ENCRYPT-VALIDATOR-CLASS
140 $cfg->setConfigEntry('captcha_encrypt_validator_class', "CaptchaEncryptFilter");
141
142 // CFG: CAPTCHA-GUEST-VERIFIER-CLASS
143 $cfg->setConfigEntry('captcha_guest_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
144
145 // CFG: CAPTCHA-USER-VERIFIER-CLASS
146 $cfg->setConfigEntry('captcha_user_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
147
148 // CFG: CAPTCHA-REGISTER-VERIFIER-CLASS
149 $cfg->setConfigEntry('captcha_register_verifier_class', "GraphicalCodeCaptchaVerifierFilter");
150
151 // CFG: CONFIRM-CODE-VALIDATOR-CLASS
152 $cfg->setConfigEntry('confirm_code_verifier_class', "ConfirmCodeVerifierFilter");
153
154 // CFG: NEWS-HOME-LIMIT
155 $cfg->setConfigEntry('news_home_limit', 10);
156
157 // CFG: NEWS-LOGIN-AREA-LIMIT
158 $cfg->setConfigEntry('news_login_area_limit', 15);
159
160 // CFG: LOGIN-ENABLED
161 $cfg->setConfigEntry('login_enabled', "Y");
162
163 // CFG: CONFIRM-EMAIL-ENABLED
164 $cfg->setConfigEntry('confirm_email_enabled', "Y");
165
166 // CFG: LOGIN-DISABLED-REASON
167 $cfg->setConfigEntry('login_disabled_reason', "Loginbereich befindet sich noch im Aufbau.");
168
169 // CFG: LOGIN-TYPE
170 $cfg->setConfigEntry('login_type', "username"); // username, email, both
171
172 // CFG: EMAIL-CHANGE-ALLOWED
173 $cfg->setConfigEntry('email_change_allowed', "Y");
174
175 // CFG: EMAIL-CHANGE-CONFIRMATION
176 $cfg->setConfigEntry('email_change_confirmation', "Y");
177
178 // CFG: GUEST-LOGIN-ALLOWED
179 $cfg->setConfigEntry('guest_login_allowed', "Y");
180
181 // CFG: GUEST-LOGIN-USERNAME
182 $cfg->setConfigEntry('guest_login_user', "guest");
183
184 // CFG: GUEST-LOGIN-PASS
185 $cfg->setConfigEntry('guest_login_passwd', "guest");
186
187 // CFG: LOGIN-WELCOME-ACTION-CLASS
188 $cfg->setConfigEntry('login_welcome_action_class', "ShipSimuLoginAction");
189
190 // CFG: LOGIN-LOGOUT-ACTION-CLASS
191 $cfg->setConfigEntry('login_logout_action_class', "ShipSimuLogoutAction");
192
193 // CFG: LOGIN-PROFILE-ACTION-CLASS
194 $cfg->setConfigEntry('login_profile_action_class', "ShipSimuProfileAction");
195
196 // CFG: SHIPSIMU-REGISTER-CAPTCHA
197 $cfg->setConfigEntry('shipsimu_register_captcha', "GraphicalCodeCaptcha");
198
199 // CFG: SHIPSIMU-USER-LOGIN-CAPTCHA
200 $cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha");
201
202 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
203 $cfg->setConfigEntry('shipsimu_guest_login_captcha', "GraphicalCodeCaptcha");
204
205 // CFG: LOGOUT-IMMEDIATE
206 $cfg->setConfigEntry('logout_immediate', "N");
207
208 // CFG: CAPTCHA-STRING-LENGTH
209 $cfg->setConfigEntry('captcha_string_length', 5);
210
211 // CFG: CAPTCHA-SEARCH-CHARS
212 $cfg->setConfigEntry('captcha_search_chars', "+/=");
213
214 // CFG: RANDOM-STRING-LENGTH
215 $cfg->setConfigEntry('random_string_length', 100);
216
217 // CFG: SHIPSIMU-REGISTER-CAPTCHA-SECURED
218 $cfg->setConfigEntry('shipsimu_register_captcha_secured', "Y");
219
220 // CFG: SHIPSIMU-USER-LOGIN-CAPTCHA-SECURED
221 $cfg->setConfigEntry('shipsimu_user_login_captcha_secured', "Y");
222
223 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED
224 $cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', "Y");
225
226 // CFG: BLOCK-SHOWS-REGISTRATION
227 $cfg->setConfigEntry('block_shows_registration', "Y");
228
229 // CFG: COMPANY-CLASS
230 $cfg->setConfigEntry('company_class', "ShippingCompany");
231
232 // CFG: COMPANY-DB-WRAPPER-CLASS
233 $cfg->setConfigEntry('company_db_wrapper_class', "CompanyDatabaseWrapper");
234
235 // CFG: USER-POINTS-DB-WRAPPER-CLASS
236 $cfg->setConfigEntry('user_points_db_wrapper_class', "UserPointsDatabaseWrapper");
237
238 // CFG EMAIl-TPL-RESEND-LINK
239 $cfg->setConfigEntry('email_tpl_resend_link', "text");
240
241 // CFG: MAIL-TEMPLATE-ENGINE
242 $cfg->setConfigEntry('mail_template_class', "MailTemplateEngine");
243
244 // CFG: IMAGE-TEMPLATE-ENGINE
245 $cfg->setConfigEntry('image_template_class', "ImageTemplateEngine");
246
247 // CFG: ADMIN-EMAIL
248 $cfg->setConfigEntry('admin_email', "you@some-hoster.invalid");
249
250 // CFG: USER-CLASS
251 $cfg->setConfigEntry('user_class', "ShipSimuMember");
252
253 // CFG: GUEST-CLASS
254 $cfg->setConfigEntry('guest_class', "ShipSimuGuest");
255
256 // CFG: MAX-ALLOWED-COMPANIES-FOUND
257 $cfg->setConfigEntry('max_allowed_companies_found', 10);
258
259 // CFG: FOUND-NEW-COMPANY-ACTION-POINTS
260 $cfg->setConfigEntry('found_new_company_action_points', 1000000);
261
262 // CFG: WRITE-APPLICATION-ACTION-POINTS
263 $cfg->setConfigEntry('write_applications_action_points', 10000);
264
265 // CFG: USER-POINTS-CLASS
266 $cfg->setConfigEntry('user_ppints_class', "UserPoints");
267
268 // CFG: GOVERMENT-CLASS
269 $cfg->setConfigEntry('goverment_class', "SimpleGoverment");
270
271 // CFG: BANK-CLASS
272 $cfg->setConfigEntry('bank_class', "MoneyBank");
273
274 // CFG: REFILL-PAGE-ACTIVE
275 $cfg->setConfigEntry('refill_page_active', "Y");
276
277 // [EOF]
278 ?>