|
@@ -366,9 +366,11 @@ class Core
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ $this->output['ext'] = $this->ext;
|
|
|
$this->output['uploaded'] = true;
|
|
|
$this->output['status'] = 1;
|
|
|
- $this->output['name'] = $this->data['file']['name'];
|
|
|
+ $this->output['name'] = $this->name;
|
|
|
+ $this->output['source_name'] = $this->data['file']['name'];
|
|
|
$this->output['fid'] = $this->id;
|
|
|
if ($this->limit) {
|
|
|
$this->output['width'] = $this->limit[0];
|