]> git.mxchange.org Git - hub.git/blobdiff - application/hub/config.php
Initial coding of hub node-mode.
[hub.git] / application / hub / config.php
index 6db0076feba6d13a560e7106250e3df6ba45c5cf..dfa7194737b51bf897c3d98552f4b71d8305c1ef 100644 (file)
 // Some hub-specific configuration like port hostname where we will listen, etc.
 $cfg = FrameworkConfiguration::getInstance();
 
-// CFG: HUB-LISTEN-ADDR
-$cfg->setConfigEntry("hub_listen_addr", "0.0.0.0");
+// CFG: NODE-LISTEN-ADDR
+$cfg->setConfigEntry('node_listen_addr', "0.0.0.0");
 
-// CFG: HUB-LISTEN-PORT (zero = auto-choose)
-$cfg->setConfigEntry("hub_listen_port", 9060);
+// CFG: NODE-LISTEN-PORT
+$cfg->setConfigEntry('node_listen_port', 9060);
+
+// CFG: NODE-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular')
+$cfg->setConfigEntry('node_mode', "regular");
 
 // CFG: TEMPLATE-ENGINE
-$cfg->setConfigEntry("tpl_engine", "ConsoleOutput");
+$cfg->setConfigEntry('tpl_engine', "ConsoleOutput");
 
 // CFG: WEB-ENGINE
-$cfg->setConfigEntry("web_engine", "DebugConsoleOutput");
+$cfg->setConfigEntry('web_engine', "DebugConsoleOutput");
 
 // CFG: DEBUG-ENGINE
-$cfg->setConfigEntry("debug_engine", "DebugErrorLogOutput");
+$cfg->setConfigEntry('debug_engine', "DebugErrorLogOutput");
 
 // CFG: WEB-CONTENT-TYPE
-$cfg->setConfigEntry("web_content_type", "");
+$cfg->setConfigEntry('web_content_type', "");
 
 // [EOF]
 ?>