will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at

Commit 1433d9fc authored by mattl's avatar mattl

Update stats.php

parent 6f18f8ec
Pipeline #31 skipped
......@@ -2,7 +2,7 @@
/* GNUkebox -- a free software server for recording your listening habits
Copyright (C) 2009 Free Software Foundation, Inc
Copyright (C) 2009, 2016 Free Software Foundation, Inc
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
......@@ -55,6 +55,12 @@ require_once('temp-utils.php');
die('sql error');
echo '<p>' . stripslashes($total) . ' users.</p>';
$total = $adodb->CacheGetOne(500, 'SELECT COUNT(*) as total from Users_Stats');
if (!$total) {
die('sql error');
echo '<p>' . stripslashes($total) . ' users active.</p>';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment