Changeset 404 for gm.php


Ignore:
Timestamp:
Jan 28, 2009, 11:23:01 AM (16 years ago)
Author:
george
Message:
  • Upraveno: Názvy databází MaNGOSu přesunuty do konfiguračního souboru a odkazované skripty upraveny k použití těchto proměnných.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gm.php

    r390 r404  
    1010
    1111$ChronosId = 11432;
    12 $Database->select_db('realmd');
     12$Database->select_db($Config['Mangos']['DatabaseRealmd']);
    1313$Result = $Database->query('SELECT * FROM account WHERE (locked = 0) AND (id != '.$ChronosId.') AND (gmlevel > 0) ORDER BY gmlevel DESC');
    1414echo('<table border="0">');
     
    3333  $Acc = $Line['AccID'];
    3434*/
    35   $Database->select_db('characters');
     35  $Database->select_db($Config['Mangos']['DatabaseCharacters']);
    3636  echo('<tr><td><p>GM Postavy ve hře:</p></td>');
    3737  echo('<td><p><b>');
     
    4646  echo('</b></p></td></tr>');
    4747
    48   $Database->select_db('realmd');
     48//  $Database->select_db($Config['Mangos']['DatabaseRealmd']);
    4949  if($Line['ForumId'] != 0)
    5050  {
Note: See TracChangeset for help on using the changeset viewer.