comparison mod_http_upload_external/share_v2.php @ 3228:bada43f3a546

mod_http_upload_external: share_v2.php: Comment out verbose debug logging
author Matthew Wild <mwild1@gmail.com>
date Tue, 14 Aug 2018 18:21:19 +0100
parents 3b13f19652e2
children b0ad1604f77e
comparison
equal deleted inserted replaced
3227:62c82d097017 3228:bada43f3a546
75 header('Access-Control-Allow-Headers: Content-Type'); 75 header('Access-Control-Allow-Headers: Content-Type');
76 header('Access-Control-Max-Age: 7200'); 76 header('Access-Control-Max-Age: 7200');
77 header('Access-Control-Allow-Origin: *'); 77 header('Access-Control-Allow-Origin: *');
78 78
79 if(array_key_exists('v2', $_GET) === TRUE && $request_method === 'PUT') { 79 if(array_key_exists('v2', $_GET) === TRUE && $request_method === 'PUT') {
80 error_log(var_export($_SERVER, TRUE)); 80 // error_log(var_export($_SERVER, TRUE));
81 $upload_file_size = $_SERVER['CONTENT_LENGTH']; 81 $upload_file_size = $_SERVER['CONTENT_LENGTH'];
82 $upload_token = $_GET['v2']; 82 $upload_token = $_GET['v2'];
83 83
84 if(array_key_exists('CONTENT_TYPE', $_SERVER) === TRUE) { 84 if(array_key_exists('CONTENT_TYPE', $_SERVER) === TRUE) {
85 $upload_file_type = $_SERVER['CONTENT_TYPE']; 85 $upload_file_type = $_SERVER['CONTENT_TYPE'];