mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Fix content transfer
This commit is contained in:
parent
cacb224b8d
commit
c18a32e5e1
1 changed files with 1 additions and 2 deletions
|
@ -41,9 +41,8 @@ if(is_array($match) && is_callable($match['target'])) {
|
|||
break;
|
||||
|
||||
case 'profile':
|
||||
$content = file_get_contents('pages/profile.html');
|
||||
$content = file_get_contents('pages/profile.html', FALSE, NULL, 0, 36);
|
||||
$content = str_replace('%UID%', $match['params']['uid'], $content);
|
||||
$content = mb_convert_encoding($content, 'UTF-8', mb_detect_encoding($content, 'UTF-8, ISO-8859-1', true));
|
||||
echo $content;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue