Changeset 683 for trunk/inc/realm.php


Ignore:
Timestamp:
Jan 23, 2010, 5:23:04 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Nové sloupce Enabled pro povolení/zakázání světů, přihlšaovacích serverů a počítačů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/realm.php

    r681 r683  
    1111    parent::__construct($System);
    1212    $this->Id = $Id;
    13     $DbResult = $this->Database->query('SELECT * FROM Realm WHERE Id='.$Id);
     13    $DbResult = $this->Database->query('SELECT * FROM Realm WHERE Id='.$Id.' AND Enabled=1');
    1414    $this->Data = $DbResult->fetch_assoc();
    1515    $this->CharactersDatabase = new Database($this->Data['DatabaseHost'], $this->Data['DatabaseUser'], $this->Data['DatabasePassword'], $this->Data['DatabaseCharacters']);
Note: See TracChangeset for help on using the changeset viewer.