diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-09-16 20:27:03 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-09-16 20:27:03 +0200 |
commit | aa1083bdac8c20285f9ee6822768cc75145c06d4 (patch) | |
tree | 2e878ed3e0ad76916f435aa283f041ee1cabf3c3 /inc | |
parent | b3c720b1c31881f7addf8752340825181a4adc27 (diff) | |
download | wallabag-aa1083bdac8c20285f9ee6822768cc75145c06d4.tar.gz wallabag-aa1083bdac8c20285f9ee6822768cc75145c06d4.tar.zst wallabag-aa1083bdac8c20285f9ee6822768cc75145c06d4.zip |
fix pictures display when DOWNLOAD_PICTURES is enabled
Diffstat (limited to 'inc')
-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; |