Changeset 484


Ignore:
Timestamp:
Mar 13, 2009, 9:23:50 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Skript stat.php pro generování stat.xml pro zaznamenávání počtu online hráčů na webu wowstatus.net.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stat/stat.php

    r404 r484  
    11<?php
    2 include('../global.php');
     2include('../inc/db.php');
    33
    4 $Hostname = $Config['Database']['Host'];
    5 $Username = $Config['Database']['User'];
    6 $Password = $Config['Database']['Password'];
    7 $Database = $Config['Mangos']['DatabaseMangos']; // must contains characters table
     4$Hostname = $db_server;
     5$Username = $db_user;
     6$Password = $db_pass;
     7$Database = $db_mangos; // must contains characters table
    88$RealmHostname = $Hostname;
    99$RealmUsername = $Username;
    1010$RealmPassword = $Password;
    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']['Version'];
    14 $Owner = $Config['Web']['Admin'];
    15 $ServerName = $Config['Web']['Title'];
     11$RealmDatabase = $db_realmd;  // must contains zone_coordinates and accounts table
     12$CharactersDatabase = $db_characters;  // must contains zone_coordinates and accounts table
     13$EmuVersion = '2.4.3'; //$Config['Mangos']['Version'];
     14$Owner = 'Admin'; //$Config['Web']['Admin'];
     15$ServerName = 'MaNGOS server'; //$Config['Web']['Title'];
    1616$DatabaseEncoding = 'utf8';
    1717
Note: See TracChangeset for help on using the changeset viewer.