dever 4 years ago
parent
commit
1d01f943d4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/View.php

+ 1 - 0
src/View.php

@@ -327,6 +327,7 @@ class View
             $local = true;
             $root = Dever::data() . 'upload/';
             $source = Dever::pic($source);
+
             $dest = str_replace(array('{uploadRes}', $host), $root, $file);
             $path = str_replace($root, '', $dest);
             if (strstr($source, $host)) {