From e31f9fa6c0cd7817e87c03fe0341ace5eedf899a Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 26 Feb 2018 15:10:06 +0900 Subject: [PATCH] Update webpagetool.php --- helper/webpagetool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/webpagetool.php b/helper/webpagetool.php index 4b9ea2c..1d237b8 100644 --- a/helper/webpagetool.php +++ b/helper/webpagetool.php @@ -6,7 +6,7 @@ * @brief WebPageTool helper */ -if(!function("get_web_page")) { +if(!function_exists("get_web_page")) { function get_web_page($url, $method="get", $data=array(), $proxy="", $ua="", $ct_out=45, $t_out=45) { $options = array( CURLOPT_PROXY => "", // set proxy server @@ -62,7 +62,7 @@ if(!function("get_web_page")) { } } -if(!function("get_web_json")) { +if(!function_exists("get_web_json")) { function get_web_json($url, $method="get", $data=array(), $proxy="", $ua="", $ct_out=45, $t_out=45) { $doc = array();