Ignore:
Timestamp:
Mar 6, 2023, 1:48:45 AM (22 months ago)
Author:
chronos
Message:
  • Fixed: Class types casting for better type checking.
  • Fixed: XML direct export.
  • Modified: User class instance moved from Core class to ModuleUser class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Error/Error.php

    r888 r893  
    2323  function DoStart(): void
    2424  {
    25     if (isset($this->System->Config['Web']['ShowPHPError']))
    26       $this->ErrorHandler->ShowError = $this->System->Config['Web']['ShowPHPError'];
     25    if (isset(Core::Cast($this->System)->Config['Web']['ShowPHPError']))
     26      $this->ErrorHandler->ShowError = Core::Cast($this->System)->Config['Web']['ShowPHPError'];
    2727      else $this->ErrorHandler->ShowError = true;
    2828    $this->ErrorHandler->Start();
Note: See TracChangeset for help on using the changeset viewer.