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
  • administrace/process_log.php

    r371 r404  
    2222
    2323// Get used database version from database
    24 $DbResult = $Database->query('SELECT * FROM `mangos`.`db_version`');
     24$DbResult = $Database->query('SELECT * FROM `'.$Config['Mangos']['DatabaseMangos'].'`.`db_version`');
    2525$DbRow = $DbResult->fetch_array();
    2626$DbVersion = $DbRow['version'];
    2727
    2828// Get last uptime info
    29 $DbResult = $Database->query('SELECT * FROM `mangos`.`uptime` ORDER BY `starttime` DESC LIMIT 1');
     29$DbResult = $Database->query('SELECT * FROM `'.$Config['Mangos']['DatabaseMangos'].'`.`uptime` ORDER BY `starttime` DESC LIMIT 1');
    3030echo($Database->error);
    3131$DbRow = $DbResult->fetch_array();
Note: See TracChangeset for help on using the changeset viewer.