2 // Import framework stuff
3 use CoreFramework\Configuration\FrameworkConfiguration;
6 * Configuration entries for this application only
8 * @author Roland Haeder <webmaster@shipsimu.org>
10 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
11 * @license GNU GPL 3.0 or any newer version
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program. If not, see <http://www.gnu.org/licenses/>.
27 // Some hub-specific configuration like port hostname where we will listen, etc.
28 $cfg = FrameworkConfiguration::getSelfInstance();
30 // CFG: DEFAULT-CONSOLE-COMMAND
31 $cfg->setConfigEntry('default_console_command', 'main');
33 // CFG: DEFAULT-TESTS-CONSOLE-COMMAND
34 $cfg->setConfigEntry('default_tests_console_command', 'main');
36 // CFG: DEFAULT-TESTS-CONSOLE-CONTROLLER
37 $cfg->setConfigEntry('default_tests_console_controller', 'main');
39 // CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS
40 $cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver');
42 // CFG: NEWS-DOWNLOAD-FILTER
43 $cfg->setConfigEntry('news_download_filter', 'CoreFramework\Filter\News\NewsDownloadFilter');
45 // CFG: NEWS-PROCESS-FILTER
46 $cfg->setConfigEntry('news_process_filter', 'CoreFramework\Filter\News\NewsProcessFilter');