diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-09-16 21:18:41 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-09-16 21:18:41 +0200 |
commit | a15108e65b12ceaf50821783bcaa1ee3fee10d13 (patch) | |
tree | 2e878ed3e0ad76916f435aa283f041ee1cabf3c3 /inc/poche | |
parent | b3c720b1c31881f7addf8752340825181a4adc27 (diff) | |
parent | aa1083bdac8c20285f9ee6822768cc75145c06d4 (diff) | |
download | wallabag-a15108e65b12ceaf50821783bcaa1ee3fee10d13.tar.gz wallabag-a15108e65b12ceaf50821783bcaa1ee3fee10d13.tar.zst wallabag-a15108e65b12ceaf50821783bcaa1ee3fee10d13.zip |
Merge pull request #839 from wallabag/fixlocalpictures
fix pictures display when DOWNLOAD_PICTURES is enabled
Diffstat (limited to 'inc/poche')
-rw-r--r-- | inc/poche/pochePictures.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index 7a914f90..52394c70 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php | |||
@@ -33,7 +33,7 @@ final class Picture | |||
33 | } | 33 | } |
34 | 34 | ||
35 | if (self::_downloadPictures($absolute_path, $fullpath) === true) { | 35 | if (self::_downloadPictures($absolute_path, $fullpath) === true) { |
36 | $content = str_replace($matches[$i][2], $fullpath, $content); | 36 | $content = str_replace($matches[$i][2], Tools::getPocheUrl() . $fullpath, $content); |
37 | } | 37 | } |
38 | 38 | ||
39 | $processing_pictures[] = $absolute_path; | 39 | $processing_pictures[] = $absolute_path; |