]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/console/class_ConsoleTools.php
Many more ore less important changes:
[core.git] / inc / classes / main / console / class_ConsoleTools.php
index 825f5fa9cfd440331236268808ae1447b6df5c90..ef97485be4fa72e2f131e9d866d108610800b503 100644 (file)
@@ -127,7 +127,7 @@ class ConsoleTools extends BaseFrameworkSystem {
                }
 
                // Set it in configuration
-               FrameworkConfiguration::getInstance()->setServerAddress($ip);
+               FrameworkConfiguration::getSelfInstance()->setServerAddress($ip);
        }
 
        /**
@@ -158,7 +158,7 @@ class ConsoleTools extends BaseFrameworkSystem {
                // Check if there was an error else
                if ($errorNo > 0) {
                        // Then throw again
-                       throw new InvalidSocketException(array($helperInstance, gettype($socketResource), $errorNo, $errorStr), BaseListener::EXCEPTION_INVALID_SOCKET);
+                       throw new InvalidSocketException(array($helperInstance, $socketResource, $errorNo, $errorStr), BaseListener::EXCEPTION_INVALID_SOCKET);
                } // END - if
 
                // Prepare the GET request