Changeset 631 for trunk/stat/stat.php


Ignore:
Timestamp:
Aug 26, 2009, 8:20:27 PM (15 years ago)
Author:
george
Message:
  • Opraveno: RSS kanál a WoWEmu statistiky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stat/stat.php

    r614 r631  
    11<?php
    2 include('../inc/db.php');
     2
     3include('../inc/config.php');
     4include('../inc/database.php');
     5include('../inc/system.php');
    36
    47$Hostname = $Config['Database']['Host'];
    58$Username = $Config['Database']['User'];
    69$Password = $Config['Database']['Password'];
    7 $Database = $Config['Mangos']['RealmList'][1]['DatabaseMangos']; // must contains characters table
     10$Database = $Config['Mangos']['RealmList'][4]['DatabaseMangos']; // must contains characters table
    811$RealmHostname = $Hostname;
    912$RealmUsername = $Username;
    1013$RealmPassword = $Password;
    1114$RealmDatabase = $Config['Mangos']['DatabaseRealmd'];  // must contains zone_coordinates and accounts table
    12 $CharactersDatabase = $Config['Mangos']['RealmList'][1]['DatabaseCharacters'];  // must contains zone_coordinates and accounts table
     15$CharactersDatabase = $Config['Mangos']['RealmList'][4]['DatabaseCharacters'];  // must contains zone_coordinates and accounts table
    1316$EmuVersion = $Config['Mangos']['ClientVersion'];
    1417$Owner = $Config['Web']['Admin'];
Note: See TracChangeset for help on using the changeset viewer.