Changeset 631
- Timestamp:
- Aug 26, 2009, 8:20:27 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss.php
r627 r631 3 3 Header('Content-Type: text/xml'); 4 4 5 include('inc/db.php'); 5 include('inc/config.php'); 6 include('inc/database.php'); 7 include('inc/system.php'); 6 8 include('inc/rss_generator.php'); 7 9 10 $System = new System($Config); 11 $db = $System->Database; 8 12 $NewsCount = 10; 9 13 $Items = array(); -
trunk/stat/stat.php
r614 r631 1 1 <?php 2 include('../inc/db.php'); 2 3 include('../inc/config.php'); 4 include('../inc/database.php'); 5 include('../inc/system.php'); 3 6 4 7 $Hostname = $Config['Database']['Host']; 5 8 $Username = $Config['Database']['User']; 6 9 $Password = $Config['Database']['Password']; 7 $Database = $Config['Mangos']['RealmList'][ 1]['DatabaseMangos']; // must contains characters table10 $Database = $Config['Mangos']['RealmList'][4]['DatabaseMangos']; // must contains characters table 8 11 $RealmHostname = $Hostname; 9 12 $RealmUsername = $Username; 10 13 $RealmPassword = $Password; 11 14 $RealmDatabase = $Config['Mangos']['DatabaseRealmd']; // must contains zone_coordinates and accounts table 12 $CharactersDatabase = $Config['Mangos']['RealmList'][ 1]['DatabaseCharacters']; // must contains zone_coordinates and accounts table15 $CharactersDatabase = $Config['Mangos']['RealmList'][4]['DatabaseCharacters']; // must contains zone_coordinates and accounts table 13 16 $EmuVersion = $Config['Mangos']['ClientVersion']; 14 17 $Owner = $Config['Web']['Admin'];
Note:
See TracChangeset
for help on using the changeset viewer.