diff --git a/src/helper/service-utils.php b/src/helper/service-utils.php index 6f978e0..88646fb 100644 --- a/src/helper/service-utils.php +++ b/src/helper/service-utils.php @@ -16,8 +16,8 @@ function nginx_proxy_check() { /** * Checking ports. */ - $port_80_status = get_curl_info( 'localhost', 80, true ); - $port_443_status = get_curl_info( 'localhost', 443, true ); + $port_80_status = \EE\Utils\get_curl_info( 'localhost', 80, true ); + $port_443_status = \EE\Utils\get_curl_info( 'localhost', 443, true ); // if any/both the port/s is/are occupied. if ( ! ( $port_80_status && $port_443_status ) ) {