rabin пре 3 година
родитељ
комит
8a495b6c27
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/View.php

+ 3 - 1
src/View.php

@@ -440,7 +440,9 @@ class View
                 $file = $handle->$method($id, $source, $dest, $path);
             } elseif (!$local && $handle->yun) {
                 $yun = $handle->yun->getData();
-                $file = $yun['host'] . $source;
+                if (!strstr($source, 'http')) {
+                    $file = $yun['host'] . $source;
+                }
             }
         }