dever 6 năm trước cách đây
mục cha
commit
b31cc65fd1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Img.php

+ 1 - 1
lib/Img.php

@@ -61,7 +61,7 @@ class Img
 
         }
 
-        $host = str_replace(DEVER_PROJECT . '/' . DEVER_APP_NAME . '/', '', Dever::config('host')->base);
+        $host = str_replace(DEVER_APP_NAME . '/', '', Dever::config('host')->base);
         if (strstr($file, '/share/dc/data/')) {
             return $host . str_replace('/share/dc/data/', '', $file);
         }