|
@@ -47,7 +47,9 @@ class View
|
|
|
$root = Dever::data() . 'upload/';
|
|
|
$dest = str_replace(array('{uploadRes}', $host), $root, $file);
|
|
|
if (strstr($source, $host)) {
|
|
|
+
|
|
|
$source = $root . str_replace($host, '', $source);
|
|
|
+
|
|
|
if (!is_file($source)) {
|
|
|
$source = $array[0];
|
|
|
}
|