Fix relative path

This commit is contained in:
Kijin Sung 2016-12-18 10:54:06 +09:00
parent 7956a878d5
commit dce0b2f2b3

View file

@ -887,7 +887,7 @@ class fileController extends file
$args->module_srl = $module_srl;
$args->direct_download = $direct_download;
$args->source_filename = $file_info['name'];
$args->uploaded_filename = $filename;
$args->uploaded_filename = './' . substr($filename, strlen(RX_BASEDIR));
$args->download_count = $download_count;
$args->file_size = @filesize($filename);
$args->comment = NULL;