@@ 31-37 (lines=7) @@ | ||
28 | ||
29 | // test for zlib |
|
30 | $tests['zlib'] = array(); |
|
31 | if (!function_exists('gzinflate')) { |
|
32 | $tests['zlib']['status'] = 0; |
|
33 | $tests['zlib']['description'] = "The zlib extension is not enabled.\n\nYou will not be able to receive compressed requests or send compressed responses, unless using the cURL library (for 'HTTPS' and 'HTTP 1.1' connections)"; |
|
34 | } else { |
|
35 | $tests['zlib']['status'] = 2; |
|
36 | $tests['zlib']['description'] = "The zlib extension is enabled.\n\nYou will be able to receive compressed requests and send compressed responses for the 'HTTP' protocol"; |
|
37 | } |
|
38 | ||
39 | // test for dispaly of php errors in xml reponse |
|
40 | if (ini_get('display_errors')) { |
|
@@ 65-71 (lines=7) @@ | ||
62 | ||
63 | // test for zlib |
|
64 | $tests['zlib'] = array(); |
|
65 | if (!function_exists('gzinflate')) { |
|
66 | $tests['zlib']['status'] = 0; |
|
67 | $tests['zlib']['description'] = "The zlib extension is not enabled.\n\nYou will not be able to send compressed requests or receive compressed responses, unless using the cURL library (for 'HTTPS' and 'HTTP 1.1' connections)"; |
|
68 | } else { |
|
69 | $tests['zlib']['status'] = 2; |
|
70 | $tests['zlib']['description'] = "The zlib extension is enabled.\n\nYou will be able to send compressed requests and receive compressed responses for the 'HTTP' protocol"; |
|
71 | } |
|
72 | ||
73 | // test for CURL |
|
74 | $tests['curl'] = array(); |