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/Packages/Common/Paging.php

    r8 r9  
    88  public string $SQLLimit;
    99  public int $Page;
     10  private System $System;
    1011
    11   function __construct()
     12  function __construct(System $System)
    1213  {
    13     global $System;
    14 
    15     $this->ItemPerPage = $System->Config['Web']['ItemsPerPage'];
    16     $this->Around = $System->Config['Web']['VisiblePagingItems'];
     14    $this->System = $System;
     15    $this->ItemPerPage = Core::Cast($this->System)->Config['Web']['ItemsPerPage'];
     16    $this->Around = Core::Cast($this->System)->Config['Web']['VisiblePagingItems'];
    1717  }
    1818
Note: See TracChangeset for help on using the changeset viewer.