mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-23 07:19:28 -07:00
Fix content transfer
This commit is contained in:
parent
c18a32e5e1
commit
39e08750a7
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue