Changeset 570 for trunk/mmadmin/stat.php


Ignore:
Timestamp:
Apr 20, 2009, 9:51:07 PM (16 years ago)
Author:
barny
Message:

Upraven minimanager aby se spustil vymazal jsem uptime script :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mmadmin/stat.php

    r567 r570  
    7272 $total_chars = $sql->result($query,0);
    7373
    74  $sql->connect($realm_db[$realm_id]['addr'], $realm_db[$realm_id]['user'], $realm_db[$realm_id]['pass'], $realm_db[$realm_id]['name']);
     74 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']);
    7575 $query = $sql->query("SELECT AVG(uptime)/60,MAX(uptime)/60,(100*SUM(uptime)/(UNIX_TIMESTAMP()-MIN(starttime))) FROM uptime");
    7676 $uptime = $sql->fetch_row($query);
Note: See TracChangeset for help on using the changeset viewer.