mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
fix bbcode_attach_to_img driver local
This commit is contained in:
@@ -6573,6 +6573,7 @@ function bbcode_attach_to_img(string $text) {
|
||||
} else {
|
||||
$url = $httpdirectory_attachment."/".$row['location'];
|
||||
}
|
||||
$url = sprintf("%s/%s", getSchemeAndHttpHost(true), trim($url, "/"));
|
||||
} else {
|
||||
$url = \Nexus\Attachment\Storage::getDriver($driver)->getImageUrl($row['location']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user