dever 4 vuotta sitten
vanhempi
commit
e0543f66ff
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/View.php

+ 3 - 0
src/View.php

@@ -383,6 +383,9 @@ class View
 	public function get($file = '', $type = '', $id = '')
 	{
         $file = Dever::input('file', $file);
+        if (strstr($file, '?')) {
+            return $file;
+        }
         $array = $this->getFile($file, $type, $id);
         $source = $array[0];
         $type = $array[1];