dever 4 gadi atpakaļ
vecāks
revīzija
6e14ffcef0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/Store/Oss.php

+ 1 - 1
lib/Store/Oss.php

@@ -50,7 +50,7 @@ class Oss extends Core implements Config
 
         if (isset($ret['info']['url'])) {
 
-            $this->file = $ret['info']['url'];
+            $this->file = $this->output['url'];
             $file = Dever::load('upload/file-name', array('where_name' => $this->name, 'where_upload' => $this->data['key'], 'rand' => time()));
             
             if (!$this->limit) {