dever 7 年之前
父節點
當前提交
847772f75d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/View.php

+ 2 - 0
src/View.php

@@ -117,6 +117,8 @@ class View
         } else {
 
         }
+        $host = str_replace(DEVER_APP_NAME . '/', '', Dever::config('host')->base);
+        return $host . str_replace(DEVER_PROJECT_PATH, '', $file);
         $file = Dever::pic($file);
         return $file;
 	}