mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-09 13:35:31 +00:00
Check all array values for binary data; Remove JSON_PRETTY_PRINT only supported PHP >= 5.4.0
This commit is contained in:
@@ -117,7 +117,7 @@ if ($test === 'http_basic_auth') {
|
||||
echo json_encode(array(
|
||||
'post' => $_POST,
|
||||
'files' => $_FILES,
|
||||
), JSON_PRETTY_PRINT);
|
||||
));
|
||||
exit;
|
||||
} elseif ($test === 'post_file_path_upload') {
|
||||
echo Helper\mime_type($_FILES[$key]['tmp_name']);
|
||||
|
||||
Reference in New Issue
Block a user