dever %!s(int64=6) %!d(string=hai) anos
pai
achega
b31cc65fd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }