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];