From 7156f0557c3c5308001e435d7e38b445556a677c Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 26 Jun 2020 18:04:31 +0200 Subject: [PATCH] Fix content transfer --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 87535b7..3f2d9fe 100644 --- a/index.php +++ b/index.php @@ -42,8 +42,9 @@ if(is_array($match) && is_callable($match['target'])) { case 'profile': $content = file_get_contents('pages/profile.html'); + $content = str_replace('%UID%', $match['params']['uid'], $content); header('Content-Type: text/html; charset=utf-8'); - print($content); + echo($content); break; } } else {