if you want to do a test you can try this, open the file mdocs-batch-upload.php and change starting at line 10:
if(isset($_FILES['mdocs-batch']) && strpos($_FILES['mdocs-batch']['type'],'zip') == false) {
$string = '<h5>'.__('Please upload a zip file.','mdocs').'</h5>';
$string .= '<h6>'.__('Output:','mdocs').'</h6>';
foreach($_FILES['mdocs-batch'] as $index => $value) $string .= $index.' ==> '.$value.'<br>';
$string .= '</p>';
mdocs_errors($string, 'error');
} elseif(isset($_FILES['mdocs-batch']) && strpos($_FILES['mdocs-batch']['type'],'zip') >= 0) {
if(!file_exists(sys_get_temp_dir().'/mdocs/')) mkdir(sys_get_temp_dir().'/mdocs/');
$zip_result = mdocs_unzip($_FILES['mdocs-batch']['tmp_name'], sys_get_temp_dir());
$do_zip = true;
} elseif (isset($_POST['mdocs-batch-complete'])) {
$do_complte = true;
}
to this:
/*
if(isset($_FILES['mdocs-batch']) && strpos($_FILES['mdocs-batch']['type'],'zip') == false) {
$string = '<h5>'.__('Please upload a zip file.','mdocs').'</h5>';
$string .= '<h6>'.__('Output:','mdocs').'</h6>';
foreach($_FILES['mdocs-batch'] as $index => $value) $string .= $index.' ==> '.$value.'<br>';
$string .= '</p>';
mdocs_errors($string, 'error');
} elseif(isset($_FILES['mdocs-batch']) && strpos($_FILES['mdocs-batch']['type'],'zip') >= 0) {
if(!file_exists(sys_get_temp_dir().'/mdocs/')) mkdir(sys_get_temp_dir().'/mdocs/');
$zip_result = mdocs_unzip($_FILES['mdocs-batch']['tmp_name'], sys_get_temp_dir());
$do_zip = true;
} elseif (isset($_POST['mdocs-batch-complete'])) {
$do_complte = true;
}
*/
if(!file_exists(sys_get_temp_dir().'/mdocs/')) mkdir(sys_get_temp_dir().'/mdocs/');
$zip_result = mdocs_unzip($_FILES['mdocs-batch']['tmp_name'], sys_get_temp_dir());
$do_zip = true;