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