|
@@ -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);
|
|
|
}
|