forked from science-ation/science-ation
Get rid of the debug for now, it breaks functions that return json.
This commit is contained in:
parent
cf19eacd43
commit
ab60a0f389
@ -86,7 +86,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
debug_("Curl Send: (type:{$fair['type']}=>$url) $str");
|
||||
// debug_("Curl Send: (type:{$fair['type']}=>$url) $str");
|
||||
|
||||
$ch = curl_init(); /// initialize a cURL session
|
||||
curl_setopt ($ch, CURLOPT_URL, $url);
|
||||
@ -101,7 +101,7 @@
|
||||
$datastream = curl_exec ($ch); /// execute the curl session and return the output to a variable $datastream
|
||||
curl_close ($ch); /// close the curl session
|
||||
|
||||
debug_("Server Returned: ".urldecode($datastream));
|
||||
// debug_("Server Returned: ".urldecode($datastream));
|
||||
|
||||
switch($fair['type']) {
|
||||
case 'sfiab':
|
||||
@ -145,7 +145,7 @@
|
||||
}
|
||||
break;
|
||||
}
|
||||
debug_("Returning: ".print_r($ret, true));
|
||||
//n debug_("Returning: ".print_r($ret, true));
|
||||
return $ret;
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user