3 * Configuration entries for this application only
5 * @author Roland Haeder <webmaster@shipsimu.org>
7 * @copyright Copyright (c) 2013-2022 LFDB2 Developer Team
8 * @license GNU GPL 3.0 or any newer version
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.
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.
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/>.
24 // Some LFDB2-specific configuration like port hostname where we will listen, etc.
25 $cfg = FrameworkConfiguration::getSelfInstance();
27 // CFG: INTERNAL-ADDRESS
28 $cfg->setConfigEntry('internal_address', '');
31 $cfg->setConfigEntry('external_ip', '');
33 // CFG: DEFAULT-CONSOLE-COMMAND
34 $cfg->setConfigEntry('default_console_command', 'server');
36 // CFG: DEFAULT-LFDB2-CONSOLE-COMMAND
37 $cfg->setConfigEntry('default_lfdb2_console_command', 'server');
39 // CFG: DEFAULT-LFDB2-CONSOLE-CONTROLLER
40 $cfg->setConfigEntry('default_lfdb2_console_controller', 'server');
42 // CFG: LFDB2-CONSOLE-CMD-SERVER-RESOLVER-CLASS
43 $cfg->setConfigEntry('lfdb2_console_cmd_server_resolver_class', 'Lfdb2ConsoleCommandResolver');
45 // CFG: NEWS-DOWNLOAD-FILTER
46 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
48 // CFG: NEWS-PROCESS-FILTER
49 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
51 // CFG: NEWS-READER-SERVER-CLASS
52 $cfg->setConfigEntry('news_reader_server_class', 'ConsoleNewsReader');
54 // CFG: NEWS-SERVER-LIMIT
55 $cfg->setConfigEntry('news_server_limit', 5);
57 // CFG: SERVER-PHP-REQUIREMENTS-FILTER
58 $cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter');
60 // CFG: SERVER-INITIALIZER-FILTER
61 $cfg->setConfigEntry('server_initializer_filter', 'ServerInitializationFilter');
63 // CFG: SERVER-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
64 $cfg->setConfigEntry('server_activation_task_handler_initializer_filter', 'ServerTaskHandlerInitializerFilter');
66 // CFG: SERVER-PHP-REQUIREMENTS-FILTER
67 $cfg->setConfigEntry('server_php_requirements_filter', 'ServerPhpRequirementsFilter');
69 // CFG: SERVER-WELCOME-TEASER-FILTER
70 $cfg->setConfigEntry('server_welcome_teaser_filter', 'ServerWelcomeTeaserFilter');
72 // ----------------------------------------------------------------------------
73 // Bootstrapping filters
74 // ----------------------------------------------------------------------------
76 // CFG: SERVER-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER
77 $cfg->setConfigEntry('server_bootstrap_extra_bootstrapping_filter', 'ServerBootstrapExtraBootstrappingFilter');
79 // CFG: SERVER-BOOTSTRAP-LISTENER-POOL-FILTER
80 $cfg->setConfigEntry('server_bootstrap_listener_pool_filter', 'ServerBootstrapListenerPoolFilter');
82 // ----------------------------------------------------------------------------
84 // ----------------------------------------------------------------------------
86 // CFG: SERVER-SHUTDOWN-TASK-HANDLER-FILTER
87 $cfg->setConfigEntry('server_shutdown_task_handler_filter', 'ServerShutdownTaskHandlerFilter');
89 // CFG: SERVER-SHUTDOWN-SERVER-FILTER
90 $cfg->setConfigEntry('server_shutdown_server_filter', 'ServerShutdownServerFilter');