]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix pictures display when DOWNLOAD_PICTURES is enabled 839/head
authorThomas Citharel <tcit@tcit.fr>
Tue, 16 Sep 2014 18:27:03 +0000 (20:27 +0200)
committerThomas Citharel <tcit@tcit.fr>
Tue, 16 Sep 2014 18:27:03 +0000 (20:27 +0200)
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;