rabin 3 лет назад
Родитель
Сommit
b08a5f4565
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/View.php

+ 1 - 1
src/View.php

@@ -403,7 +403,7 @@ class View
 
             $dest = str_replace(array('{uploadRes}', $host), $root, $file);
             $path = str_replace($root, '', $dest);
-            if (strstr($source, $host)) {
+            if (strstr($source, $host) && !strstr($source, '7.')) {
                 
                 $source = $root . str_replace($host, '', $source);