From c18a32e5e18716b937137afc4aac05f4bad26115 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 26 Jun 2020 17:59:17 +0200 Subject: [PATCH] Fix content transfer --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index a96d32b..e2f1a8d 100644 --- a/index.php +++ b/index.php @@ -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; }