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