dever 7 years ago
parent
commit
97c631d9e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View.php

+ 1 - 1
src/View.php

@@ -19,7 +19,7 @@ class View
 			$root = Dever::data() . 'upload/';
 			$dest = str_replace($host, $root, $file);
 
-			if (!is_file($dest)) {
+			if (!strstr($dest, 'http://') && !is_file($dest)) {
 				$temp = explode('_t', $dest);
 				$temp1 = explode('.', $temp[1]);
 				$id = $temp1[0];