X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fconsole%2Fclass_ConsoleTools.php;h=60476a1e96526bbc7099336ac2651182fced256d;hp=5c2c87c2d04520b628c38ea89f7ed6e15654c2cc;hb=e1c641d7e5544db22b260ca49da0ec19eea8373e;hpb=de56ab86d4abad02a91e6d912701333a679aeeeb diff --git a/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php index 5c2c87c2..60476a1e 100644 --- a/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -84,7 +84,7 @@ class ConsoleTools extends BaseFrameworkSystem { * Aquires the IP address of this host by reading the /etc/hostname file * and solving it. It is now stored in configuration * - * @return void + * @return $ip Aquired IP address */ public static function acquireSelfIPAddress () { // Local IP by default @@ -131,6 +131,9 @@ class ConsoleTools extends BaseFrameworkSystem { // Set it in configuration FrameworkConfiguration::getSelfInstance()->setServerAddress($ip); + + // Return it + return $ip; } /**