]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/boot/class_HubBootNode.php
readConfig() is not naming convention, renamed to getConfigEntry()
[hub.git] / application / hub / main / nodes / boot / class_HubBootNode.php
index ff55bcd77e7125054888b4c669982185b60cbcd8..7696c1bea7e49008bac7be4a099a8fa1b8e3adc7 100644 (file)
@@ -61,7 +61,7 @@ class HubBootNode extends BaseHubNode implements NodeHelper, Registerable {
                // Now check if the IP address matches one of the bootstrap nodes
                if ($this->ifAddressMatchesBootstrappingNodes($_SERVER['SERVER_ADDR'])) {
                        // Get our port from configuration
-                       $ourPort = $this->getConfigInstance()->readConfig('node_tcp_listen_port');
+                       $ourPort = $this->getConfigInstance()->getConfigEntry('node_tcp_listen_port');
 
                        // Extract port
                        $bootPort = substr($this->getBootIpPort(), -strlen($ourPort), strlen($ourPort));