1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-04-24 02:44:19 +00:00

Merge pull request from wallabag/fixlocalpictures

fix pictures display when DOWNLOAD_PICTURES is enabled
This commit is contained in:
Nicolas Lœuillet 2014-09-16 21:18:41 +02:00
commit a15108e65b

View file

@ -33,7 +33,7 @@ final class Picture
}
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;