Esempio n. 1
0
/**
 *  数据统计回传
 */
function webscan_slog($logs)
{
    if (!function_exists('curl_init')) {
        $http = new webscan_http();
        $http->post(WEBSCAN_API_LOG, $logs);
    } else {
        webscan_curl(WEBSCAN_API_LOG, $logs);
    }
}
Esempio n. 2
0
/**
 *  数据统计回传
 */
function webscan_slog($logs) {
  if(WEBSCAN_U_KEY != "@webscan360key@" && WEBSCAN_U_KEY != '' && WEBSCAN_U_KEY != null){
	  if(! function_exists('curl_init')) {
		$http=new webscan_http();
		$http->post(WEBSCAN_API_LOG,$logs);
	  }
	  else{
		webscan_curl(WEBSCAN_API_LOG,$logs);
	  }
  }
}