dever 7 years ago
parent
commit
847772f75d
1 changed files with 2 additions and 0 deletions
  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;
 	}