Fixed "upload file" to visual console with file manager. Ticket#2944

This commit is contained in:
Arturo Gonzalez 2015-12-31 15:12:58 +01:00
parent 69a07a0ae1
commit b864cc8adf
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ if ($upload_file) {
if (isset ($_FILES['file']) && $_FILES['file']['name'] != "") {
$filename = $_FILES['file']['name'];
$filesize = $_FILES['file']['size'];
$filename = str_replace(' ', '_', $filename);
$real_directory = io_safe_output((string) get_parameter('real_directory'));
$directory = io_safe_output((string) get_parameter ('directory'));
$umask = io_safe_output((string) get_parameter('umask', ''));