dever 3 vuotta sitten
vanhempi
commit
508407ad7a
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/Code.php

+ 2 - 2
src/Code.php

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