|
@@ -51,7 +51,7 @@ class Qiniu extends Core implements Config
|
|
|
public function file()
|
|
|
{
|
|
|
if ($this->base64 && isset($this->data['local'])) {
|
|
|
- parse_url($this->data['local'], $data);
|
|
|
+ $data = parse_url($this->data['local']);
|
|
|
$this->file = $data['path'] . $this->name . $this->ext;
|
|
|
} else {
|
|
|
$this->file = $this->path . $this->name . $this->ext;
|