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

View File

@@ -10,7 +10,7 @@
<h2>Currently Active Users</h2> <h2>Currently Active Users</h2>
<div class="active-users-list"> <div class="active-users-list">
<?php <?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)) { if (!empty($activeUsers)) {
echo "<ul>"; echo "<ul>";