Changeset 31 for measure_scripts/wow.php


Ignore:
Timestamp:
May 19, 2008, 7:25:54 AM (17 years ago)
Author:
george
Message:

Upraveno: Přepracování a pročištění skriptů.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • measure_scripts/wow.php

    r30 r31  
    5151
    5252  $Database->select_db('characters');
    53   $DbResult = $Database->query('SELECT COUNT(*) FROM `character`');
     53  $DbResult = $Database->query('SELECT COUNT(*) FROM `characters`');
    5454  $Row = $DbResult->fetch_array();
    5555  return($Row[0]);
     
    6060  global $Database;
    6161
    62   $Database->select_db('wow');
    63   $DbResult = $Database->query('SELECT COUNT(*) FROM mangos_restart');
     62  $Database->select_db('mangos');
     63  $DbResult = $Database->query('SELECT COUNT(*) FROM uptime');
    6464  $Row = $DbResult->fetch_array();
    6565  return($Row[0]);
Note: See TracChangeset for help on using the changeset viewer.