]> git.mxchange.org Git - lfdb2.git/blob - application/lfdb2/config.php
Continued:
[lfdb2.git] / application / lfdb2 / config.php
1 <?php
2 /**
3  * Configuration entries for this application only
4  *
5  * @author              Roland Haeder <webmaster@shipsimu.org>
6  * @version             0.0
7  * @copyright   Copyright (c) 2013-2022 LFDB2 Developer Team
8  * @license             GNU GPL 3.0 or any newer version
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
22  */
23
24 // Some LFDB2-specific configuration like port hostname where we will listen, etc.
25 $cfg = FrameworkConfiguration::getSelfInstance();
26
27 // CFG: INTERNAL-ADDRESS
28 $cfg->setConfigEntry('internal_address', '');
29
30 // CFG: EXTERNAL-IP
31 $cfg->setConfigEntry('external_ip', '');
32
33 // CFG: DEFAULT-CONSOLE-COMMAND
34 $cfg->setConfigEntry('default_console_command', 'server');
35
36 // CFG: DEFAULT-LFDB2-CONSOLE-COMMAND
37 $cfg->setConfigEntry('default_lfdb2_console_command', 'server');
38
39 // CFG: DEFAULT-LFDB2-CONSOLE-CONTROLLER
40 $cfg->setConfigEntry('default_lfdb2_console_controller', 'server');
41
42 // CFG: LFDB2-CONSOLE-CMD-SERVER-RESOLVER-CLASS
43 $cfg->setConfigEntry('lfdb2_console_cmd_server_resolver_class', 'Lfdb2ConsoleCommandResolver');
44
45 // CFG: NEWS-DOWNLOAD-FILTER
46 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
47
48 // CFG: NEWS-PROCESS-FILTER
49 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
50
51 // CFG: NEWS-READER-SERVER-CLASS
52 $cfg->setConfigEntry('news_reader_server_class', 'ConsoleNewsReader');
53
54 // CFG: NEWS-SERVER-LIMIT
55 $cfg->setConfigEntry('news_server_limit', 5);
56
57 // CFG: SERVER-PHP-REQUIREMENTS-FILTER
58 $cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter');
59
60 // CFG: SERVER-INITIALIZER-FILTER
61 $cfg->setConfigEntry('server_initializer_filter', 'ServerInitializationFilter');
62
63 // CFG: SERVER-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
64 $cfg->setConfigEntry('server_activation_task_handler_initializer_filter', 'ServerTaskHandlerInitializerFilter');
65
66 // CFG: SERVER-PHP-REQUIREMENTS-FILTER
67 $cfg->setConfigEntry('server_php_requirements_filter', 'ServerPhpRequirementsFilter');
68
69 // CFG: SERVER-WELCOME-TEASER-FILTER
70 $cfg->setConfigEntry('server_welcome_teaser_filter', 'ServerWelcomeTeaserFilter');
71
72 // ----------------------------------------------------------------------------
73 //                            Bootstrapping filters
74 // ----------------------------------------------------------------------------
75
76 // CFG: SERVER-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER
77 $cfg->setConfigEntry('server_bootstrap_extra_bootstrapping_filter', 'ServerBootstrapExtraBootstrappingFilter');
78
79 // CFG: SERVER-BOOTSTRAP-LISTENER-POOL-FILTER
80 $cfg->setConfigEntry('server_bootstrap_listener_pool_filter', 'ServerBootstrapListenerPoolFilter');
81
82 // ----------------------------------------------------------------------------
83 //                              Shutdown filters
84 // ----------------------------------------------------------------------------
85
86 // CFG: SERVER-SHUTDOWN-TASK-HANDLER-FILTER
87 $cfg->setConfigEntry('server_shutdown_task_handler_filter', 'ServerShutdownTaskHandlerFilter');
88
89 // CFG: SERVER-SHUTDOWN-SERVER-FILTER
90 $cfg->setConfigEntry('server_shutdown_server_filter', 'ServerShutdownServerFilter');