]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/pochePictures.php
fix pictures display when DOWNLOAD_PICTURES is enabled
[github/wallabag/wallabag.git] / inc / poche / pochePictures.php
index 7a914f90f8b1a28781c6e8dba84ae24a7d527571..52394c703b1130fb73bbd9aa8807f17b89a574a0 100644 (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;