mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2025-01-09 06:59:29 -07:00
Fix content transfer
This commit is contained in:
parent
1fbbdcc70d
commit
7156f0557c
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue