Changeset 609 for trunk/pages/events.php


Ignore:
Timestamp:
Aug 7, 2009, 10:03:50 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Stránky přizpůsobeny pro podporu více světů. Doplněna stránka seznamu světů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pages/events.php

    r595 r609  
    4343 
    4444  $Events = array('Running' => array(), 'Planned' => array());
    45   $db->select_db($Config['Mangos']['DatabaseMangos']); 
     45  $db->select_db($Config['Mangos']['RealmList'][$_COOKIE['RealmIndex']]['DatabaseMangos']);
    4646
    4747  $DbResult = $db->query('SELECT *, UNIX_TIMESTAMP(start_time) as start FROM game_event WHERE end_time > NOW() AND start_time < NOW()');
Note: See TracChangeset for help on using the changeset viewer.