mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 05:30:12 +01:00
gui fixes
This commit is contained in:
parent
4b9d07dd23
commit
8d201ed50a
@ -17,6 +17,7 @@ $config['PILERGETD_PASSWORD'] = '';
|
|||||||
$config['BRANDING_TEXT'] = '';
|
$config['BRANDING_TEXT'] = '';
|
||||||
$config['BRANDING_URL'] = '';
|
$config['BRANDING_URL'] = '';
|
||||||
$config['BRANDING_LOGO'] = '';
|
$config['BRANDING_LOGO'] = '';
|
||||||
|
$config['BRANDING_COLOUR'] = '';
|
||||||
$config['BRANDING_FAVICON'] = '';
|
$config['BRANDING_FAVICON'] = '';
|
||||||
$config['SUPPORT_LINK'] = '';
|
$config['SUPPORT_LINK'] = '';
|
||||||
|
|
||||||
|
@ -135,6 +135,8 @@ class ModelSaasCustomer extends Model
|
|||||||
|
|
||||||
|
|
||||||
public function count_online() {
|
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);
|
$query = $this->db->query("SELECT COUNT(*) AS num FROM " . TABLE_ONLINE);
|
||||||
|
|
||||||
return $query->row['num'];
|
return $query->row['num'];
|
||||||
|
Loading…
Reference in New Issue
Block a user