dever 4 роки тому
батько
коміт
e0543f66ff
1 змінених файлів з 3 додано та 0 видалено
  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];