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 {