Changeset 583 for trunk/stat/stat.php


Ignore:
Timestamp:
May 7, 2009, 9:15:17 AM (16 years ago)
Author:
george
Message:
  • Opraveno: Chyba v CSS stylech způsobovala špatné zobrazení rámečků tabulek a stylů dalších prvnků.
  • Upraveno: Sjednocen styl různých tabulek.
  • Upraveno: Přepis nejednotného přístupu k databázi přes jiné proměnné a konstanty než dle konfigurace proměnné $Config.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stat/stat.php

    r508 r583  
    22include('../inc/db.php');
    33
    4 $Hostname = $db_server;
    5 $Username = $db_user;
    6 $Password = $db_pass;
    7 $Database = $db_mangos; // must contains characters table
     4$Hostname = $Config['Database']['Host'];
     5$Username = $Config['Database']['User'];
     6$Password = $Config['Database']['Password'];
     7$Database = $Config['Mangos']['DatabaseMangos']; // must contains characters table
    88$RealmHostname = $Hostname;
    99$RealmUsername = $Username;
    1010$RealmPassword = $Password;
    11 $RealmDatabase = $db_realmd;  // must contains zone_coordinates and accounts table
    12 $CharactersDatabase = $db_characters;  // must contains zone_coordinates and accounts table
    13 $EmuVersion = '3.0.9'; //$Config['Mangos']['Version'];
    14 $Owner = 'Admin'; //$Config['Web']['Admin'];
    15 $ServerName = 'MaNGOS server'; //$Config['Web']['Title'];
     11$RealmDatabase = $Config['Mangos']['DatabaseRealmd'];  // must contains zone_coordinates and accounts table
     12$CharactersDatabase = $Config['Mangos']['DatabaseCharacters'];  // must contains zone_coordinates and accounts table
     13$EmuVersion = $Config['Mangos']['ClientVersion'];
     14$Owner = $Config['Web']['Admin'];
     15$ServerName = $Config['Web']['Title'];
    1616$DatabaseEncoding = 'utf8';
    1717
Note: See TracChangeset for help on using the changeset viewer.