dever 4 lat temu
rodzic
commit
39fd8d1847
1 zmienionych plików z 1 dodań i 1 usunięć
  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'] . '/';