dever 4 роки тому
батько
коміт
39fd8d1847
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/View.php

+ 1 - 1
src/View.php

@@ -386,7 +386,7 @@ class View
                 $file = $dest;
                 $handle = false;
             }
-        } else {
+        } elseif (strstr($file, 'http')) {
             $data = parse_url($file);
             $path = ltrim($data['path'], '/');
             $host = $data['scheme'] . '://' . $data['host'] . '/';