Fix content transfer

This commit is contained in:
Yarmo Mackenbach 2020-06-26 18:04:31 +02:00
parent 1fbbdcc70d
commit 7156f0557c

View file

@ -42,8 +42,9 @@ 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); echo($content);
break; break;
} }
} else { } else {