Changeset 93 for trunk/www/Application/View/Debug.php
- Timestamp:
- Aug 15, 2013, 11:17:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/Debug.php
r92 r93 37 37 function ItemList() 38 38 { 39 global $Config;40 41 39 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) 42 40 { 43 $Realm = new Realm($this-> Database, $_GET['Id']);41 $Realm = new Realm($this->System, $_GET['Id']); 44 42 if(($this->System->Modules['User']->User['Id'] == $Realm->GetUser()) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)) 45 43 { … … 61 59 function Item() 62 60 { 63 global $System;64 65 61 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_USER) 66 62 { 67 $Realm = new Realm($this-> Database, $_GET['Id']);63 $Realm = new Realm($this->System, $_GET['Id']); 68 64 if(($this->System->Modules['User']->User['Id'] == $Realm->GetUser()) or ($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)) 69 65 { 70 66 $Output = '<div>Ladící informace serveru</div>'; 71 67 72 $MangosDebug = new MangosDebug($this-> Database, $this->System);68 $MangosDebug = new MangosDebug($this->System, $this->System); 73 69 $Form = new Form($this->System, $this->ItemFormClass); 74 70 if($Form->LoadValuesFromDatabase($_GET['Id'])) … … 127 123 } 128 124 } 129 130 ?>
Note:
See TracChangeset
for help on using the changeset viewer.