Update index.php

This commit is contained in:
deepend-tildeclub 2024-08-17 10:35:18 -06:00 committed by GitHub
parent 0e6595dc42
commit 181e288b4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<h2>Currently Active Users</h2>
<div class="active-users-list">
<?php
$activeUsers = json_decode(file_get_contents('/path/to/your/webroot/online-users.json'), true);
$activeUsers = json_decode(file_get_contents('online-users.json'), true);
if (!empty($activeUsers)) {
echo "<ul>";