mirror of https://github.com/tildeclub/site.git
Update index.php
This commit is contained in:
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>";
|
||||||
|
|
Loading…
Reference in New Issue