]> git.mxchange.org Git - core.git/blobdiff - framework/config/class_FrameworkConfiguration.php
imported InputStream
[core.git] / framework / config / class_FrameworkConfiguration.php
index f7a48ecef8fc1adaffcf78288f5c4604621d2172..15894ff483bcaf7c8684f2491dbe32e5ce2c9b46 100644 (file)
@@ -7,6 +7,7 @@ use CoreFramework\Console\Tools\ConsoleTools;
 use CoreFramework\Dns\UnknownHostnameException;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Generic\NullPointerException;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Registry\Registerable;
 
 /**
@@ -272,7 +273,7 @@ class FrameworkConfiguration implements Registerable {
 
                                // Al fine, set it
                                $this->setServerAddress($serverIp);
-                       } elseif (class_exists('ConsoleTools')) {
+                       } else {
                                // Run auto-detecting through console tools lib
                                ConsoleTools::acquireSelfIPAddress();
                        }