Ignore:
Timestamp:
Jun 1, 2023, 1:01:38 AM (18 months ago)
Author:
chronos
Message:
  • Fixed: Modules initialization.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/ModuleUser.php

    r8 r9  
    133133    $this->System->User = new User($this->System);
    134134    if (isset($_SERVER['REMOTE_ADDR'])) $this->System->User->Check();
    135     $this->System->RegisterPage('userlist', 'PageUserList');
    136     $this->System->RegisterPage('user', 'PageUser');
     135    $this->System->RegisterPage(['userlist'], 'PageUserList');
     136    $this->System->RegisterPage(['user'], 'PageUser');
    137137    $this->System->RegisterPageBarItem('Top', 'User', array($this, 'TopBarCallback'));
    138138    $this->System->FormManager->RegisterClass('UserLogin', array(
Note: See TracChangeset for help on using the changeset viewer.