mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 03:12:21 -05:00
fix pictures display when DOWNLOAD_PICTURES is enabled
This commit is contained in:
parent
b3c720b1c3
commit
aa1083bdac
@ -33,7 +33,7 @@ final class Picture
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (self::_downloadPictures($absolute_path, $fullpath) === true) {
|
if (self::_downloadPictures($absolute_path, $fullpath) === true) {
|
||||||
$content = str_replace($matches[$i][2], $fullpath, $content);
|
$content = str_replace($matches[$i][2], Tools::getPocheUrl() . $fullpath, $content);
|
||||||
}
|
}
|
||||||
|
|
||||||
$processing_pictures[] = $absolute_path;
|
$processing_pictures[] = $absolute_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user