1
0
فهرست منبع

Better debug output

Zachary Kotlarek 12 سال پیش
والد
کامیت
edb4979055
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      opendrive.php

+ 4 - 1
opendrive.php

@@ -97,8 +97,11 @@ function curlPostRaw($url, $data, $header = NULL) {
 
 	# Return
 	if ($DEBUG >= 4) {
-		echo "Response:\n";
+		echo "Response headers:\n";
+		print_r(curl_getinfo($ch));
+		echo "Response body:\n";
 		print_r($response);
+		echo "\n\n======================================\n\n\n";
 	}
 	return($response);
 }