Ignore:
Timestamp:
Aug 15, 2013, 11:17:26 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: System variable as parameter to constructors of descendents of Module class.
  • Removed: End PHP mark "?>" from all files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/View/Debug.php

    r92 r93  
    3737  function ItemList()
    3838  {
    39     global $Config;
    40    
    4139    if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER)
    4240    {
    43       $Realm = new Realm($this->Database, $_GET['Id']);
     41      $Realm = new Realm($this->System, $_GET['Id']);
    4442      if(($this->System->Modules['User']->User['Id'] == $Realm->GetUser()) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR))
    4543      {
     
    6159  function Item()
    6260  {
    63     global $System;
    64 
    6561    if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER)
    6662    {
    67       $Realm = new Realm($this->Database, $_GET['Id']);
     63      $Realm = new Realm($this->System, $_GET['Id']);
    6864      if(($this->System->Modules['User']->User['Id'] == $Realm->GetUser()) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR))
    6965      {
    7066        $Output = '<div>Ladící informace serveru</div>';
    7167   
    72     $MangosDebug = new MangosDebug($this->Database, $this->System);
     68    $MangosDebug = new MangosDebug($this->System, $this->System);
    7369    $Form = new Form($this->System, $this->ItemFormClass);
    7470    if($Form->LoadValuesFromDatabase($_GET['Id']))
     
    127123  }
    128124}
    129 
    130 ?>
Note: See TracChangeset for help on using the changeset viewer.