X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=application%2Fhub%2Fconfig.php;h=dfa7194737b51bf897c3d98552f4b71d8305c1ef;hb=0954352df67a1f112c736e08dd31a13ff9dda03d;hp=6db0076feba6d13a560e7106250e3df6ba45c5cf;hpb=4807ea28d054ae20e46e3623732a003345e05b76;p=hub.git diff --git a/application/hub/config.php b/application/hub/config.php index 6db0076fe..dfa719473 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -24,23 +24,26 @@ // 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] ?>