Update networktool.php

This commit is contained in:
Namhyeon Go 2018-09-26 20:00:22 +09:00 committed by GitHub
parent 2771b7745a
commit 62ade3f26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ if(!function_exists("get_network_outbound_addr")) {
if(loadHelper("webpagetool")) {
$remote_host = "http://" . ($protocol == "ipv6" ? "ipv6." : "") . "icanhazip.com";
$response = get_web_json($remote_host, "get.cache");
$response = get_web_page($remote_host, "get.cache");
$addr = get_value_in_array("content", $response, $addr);
}