dever před 4 roky
rodič
revize
39fd8d1847
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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'] . '/';