From a87164803b5faab197d5e5512abe5ac3e735ca65 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 15:44:36 +0200 Subject: [PATCH] Please avoid these class_exists() outside any object factory MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- framework/config/class_FrameworkConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/config/class_FrameworkConfiguration.php b/framework/config/class_FrameworkConfiguration.php index f7a48ece..88bbcf21 100644 --- a/framework/config/class_FrameworkConfiguration.php +++ b/framework/config/class_FrameworkConfiguration.php @@ -272,7 +272,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(); } -- 2.30.2