3 * Local configuration entries which you can customize. Please keep the
4 * comments starting with CFG: as-is or else, the later configuration wizard
5 * (aka. 'admin' project) will not be able to parse it. You need to rename this
6 * file to config-local.php and make in that new file your changes.
8 * If you want to start an own network (which may accept different types of
9 * objects which would be rejected by the global network) please change
10 * hub_bootstrap_nodes (semicolon-seperated list) to your bootstrapper.
12 * You can set external_ip to a hostname, e.g. me.homelinux.org, which will be
13 * included in the announcement. This is very useful for consumer DSL
14 * connections because they might be disconnected every 24 hours and rotate the
17 * @author Roland Haeder <webmaster@ship-simu.org>
19 * @copyright Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
20 * @license GNU GPL 3.0 or any newer version
22 * This program is free software: you can redistribute it and/or modify
23 * it under the terms of the GNU General Public License as published by
24 * the Free Software Foundation, either version 3 of the License, or
25 * (at your option) any later version.
27 * This program is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 * GNU General Public License for more details.
32 * You should have received a copy of the GNU General Public License
33 * along with this program. If not, see <http://www.gnu.org/licenses/>.
36 // Some hub-specific configuration like port hostname where we will listen, etc.
37 $cfg = FrameworkConfiguration::getSelfInstance();
39 // CFG: NODE-LISTEN-ADDR
40 $cfg->setConfigEntry('node_listen_addr', '0.0.0.0');
42 // CFG: NODE-TCP-LISTEN-PORT
43 $cfg->setConfigEntry('node_tcp_listen_port', 9060);
45 // CFG: NODE-UDP-LISTEN-PORT
46 $cfg->setConfigEntry('node_udp_listen_port', 9060);
48 // CFG: NODE-DEFAULT-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular')
49 $cfg->setConfigEntry('node_default_mode', 'regular');
52 // Use this if auto-detection fails! $cfg->setConfigEntry('external_ip', '');
54 // CFG: HUB-BOOTSTRAP-NODES
55 $cfg->setConfigEntry('hub_bootstrap_nodes', '188.138.90.169:9060');