Update index.php

This commit is contained in:
deepend-tildeclub 2024-08-17 10:47:20 -06:00 committed by GitHub
parent 0b3bd2a8f1
commit 84cb556779
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@
if (!empty($activeUsers)) {
echo "<ul>";
foreach ($activeUsers as $user) {
echo "<li>" . htmlspecialchars($user) . "</li>";
$username = htmlspecialchars($user);
echo "<li><a href='/~$username'>$username</a></li>";
}
echo "</ul>";
} else {