gui fixes

This commit is contained in:
SJ 2013-08-07 16:43:00 +02:00
parent 4b9d07dd23
commit 8d201ed50a
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@ $config['PILERGETD_PASSWORD'] = '';
$config['BRANDING_TEXT'] = '';
$config['BRANDING_URL'] = '';
$config['BRANDING_LOGO'] = '';
$config['BRANDING_COLOUR'] = '';
$config['BRANDING_FAVICON'] = '';
$config['SUPPORT_LINK'] = '';

View File

@ -135,6 +135,8 @@ class ModelSaasCustomer extends Model
public function count_online() {
$query = $this->db->query("DELETE FROM " . TABLE_ONLINE . " WHERE last_activity < ?", array(NOW - 3600));
$query = $this->db->query("SELECT COUNT(*) AS num FROM " . TABLE_ONLINE);
return $query->row['num'];