blueimp/jQuery-File-Upload — Issue #705: Return list of files from database instead of scandir in UploadHandler class
Author: nath2099
Created: 2011-10-16 07:49:53+00:00
State: open

Can I just replace the scandir command below with an array of image names?

private function get_file_objects() {
return
array_values(
array_filter(
array_map(
array($this, 'get_file_object'),
scandir($this->options['upload_dir'])
)
)
);
}