mirror of
https://github.com/tildeclub/site.git
synced 2026-01-23 21:40:18 +00:00
Update index.php
This commit is contained in:
committed by
GitHub
parent
0e6595dc42
commit
181e288b4e
@@ -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>";
|
||||||
|
|||||||
Reference in New Issue
Block a user