Changeset 873 for trunk/Modules/User/User.php
- Timestamp:
- Apr 6, 2020, 11:17:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r858 r873 122 122 /* 123 123 124 if ($this->InstalledVersion == '1.0') {124 if ($this->InstalledVersion == '1.0') { 125 125 $this->System->Database->Query('SELECT * FROM User WHERE Id=1'); 126 126 $this->InstalledVersion = '1.1'; … … 132 132 { 133 133 $this->System->User = new User($this->System); 134 if (isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();134 if (isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check(); 135 135 $this->System->RegisterPage('userlist', 'PageUserList'); 136 136 $this->System->RegisterPage('user', 'PageUser'); … … 290 290 function TopBarCallback() 291 291 { 292 if ($this->System->User->User['Id'] == null)292 if ($this->System->User->User['Id'] == null) 293 293 { 294 294 $Output = '<a href="'.$this->System->Link('/user/?Action=LoginForm').'">Přihlášení</a> '. … … 301 301 // <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>'; 302 302 } 303 return ($Output);303 return ($Output); 304 304 } 305 305 }
Note:
See TracChangeset
for help on using the changeset viewer.