Common replacement of Facebook requirement.
<meta name="viewport" content="width=device-width">
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script><![endif]-->
<?php if (!empty($Place['image'])) { ?>
- <meta property="og:image" content="<?= htmlspecialchars($Place['image']) ?>" />
+ <meta property="og:image" content="https://<?= $_SERVER['HTTP_HOST'] . htmlspecialchars($Place['image']) ?>" />
<?php } ?>
</head>
<body>
$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 = [];