Fix content transfer

This commit is contained in:
Yarmo Mackenbach 2020-06-26 18:01:39 +02:00
parent c18a32e5e1
commit 39e08750a7

View file

@ -41,9 +41,10 @@ if(is_array($match) && is_callable($match['target'])) {
break; break;
case 'profile': case 'profile':
$content = file_get_contents('pages/profile.html', FALSE, NULL, 0, 36); $content = file_get_contents('pages/profile.html');
$content = str_replace('%UID%', $match['params']['uid'], $content); $content = str_replace('%UID%', $match['params']['uid'], $content);
echo $content; header('Content-Type: text/html; charset=utf-8');
print($content);
break; break;
} }
} else { } else {