X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2Fpoche%2FpochePictures.php;h=52394c703b1130fb73bbd9aa8807f17b89a574a0;hb=cf8a5e1eedbed484dbcb1ddc9f7a13fc19b7a27b;hp=26bf07063af0b7006fc468863fde1712a2197745;hpb=3602405ec0dbc576fce09ff9e865ba2404622080;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index 26bf0706..52394c70 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php @@ -11,11 +11,6 @@ final class Picture { - private function __construct() - { - - } - /** * Changing pictures URL in article content */ @@ -38,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;