summaryrefslogtreecommitdiff
path: root/php/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/header.php')
-rwxr-xr-xphp/header.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/header.php b/php/header.php
index 8648b2a..0fd46df 100755
--- a/php/header.php
+++ b/php/header.php
@@ -26,7 +26,8 @@ if ($username === null) {
$account = import(ROOT . '/html/guest.html');
} else {
$account = replace(ROOT . '/html/account.html', [
- '{{username}}' => htmlspecialchars($username, ENT_QUOTES, 'UTF-8')
+ '{{username}}' => htmlspecialchars($username, ENT_QUOTES, 'UTF-8'),
+ '{{profile}}' => rawurlencode($username)
]);
}