Fix content transfer

This commit is contained in:
Yarmo Mackenbach 2020-06-26 18:02:10 +02:00
parent 39e08750a7
commit 1fbbdcc70d

View file

@ -42,7 +42,6 @@ if(is_array($match) && is_callable($match['target'])) {
case 'profile': case 'profile':
$content = file_get_contents('pages/profile.html'); $content = file_get_contents('pages/profile.html');
$content = str_replace('%UID%', $match['params']['uid'], $content);
header('Content-Type: text/html; charset=utf-8'); header('Content-Type: text/html; charset=utf-8');
print($content); print($content);
break; break;