dever %!s(int64=6) %!d(string=hai) anos
pai
achega
2276326605
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lib/Img.php

+ 4 - 0
lib/Img.php

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