head: enforce absolute links of og:image values
[minimedit.git] / nieuws / index.php
index cf63a63669868bcbd73f5b5e99fdbebf50d5cbe0..4ffaa23d614be2d689a63190a46bd1f4cf2c84c1 100644 (file)
@@ -15,7 +15,7 @@ if ($page and !is_numeric($page)) {
        $Place[1] = ' <small class="date">'.$article->date.'</small>';
        print preg_replace('{(?<=<h2>)(.*?)(?=</h2>)}', ($edit ?: '\1').' [[1]]', ob_get_clean());
        if ($article->file and $article->image) {
-               $Place['image'] = "https://lijtweg.nl/".$article->thumb('600x');
+               $Place['image'] = "/".$article->thumb('600x');
        }
        if (!empty($User['admin'])) {
                $taglist = [];