From aa1083bdac8c20285f9ee6822768cc75145c06d4 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 16 Sep 2014 20:27:03 +0200 Subject: [PATCH] fix pictures display when DOWNLOAD_PICTURES is enabled --- inc/poche/pochePictures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index 7a914f9..52394c7 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php @@ -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;